added the animation to the footer and then to the main view