Specify speed and easing for proper transition between images.