Updating smooth scrolling