updated scrolling for mobile devices.