Adjust for scroll on mobile devices