Fixed the animation. Set up an animation listener