added animation function to the top nav bar and the banners