Fixing smooth scrolling.