fix CPU consumption from 'back to top' scrolling