Fix a bug with the scrolling