animation displaying on the screen