Initiating a 500ms transition on the left property of box1 and catching it on the window.