Small fix for smooth scrolling.