added animation while scrolling