updated animation on auto-scroll to be smoother