added easing to the scroll animation