Make automatic scrolling have a transition