add an animation for scrollTop