Added a animation to the image change