Updated transition between images for better performance.