Fix bug where scrolling wouldn't work after changing direction.