added animation on home page for when the page loads and when click on the link