Fixing the offset on mobile devices.