fixes page jump issue on mobile devices