Changing the animation duration when showing the image.