Fixing several issues with scrolling.