fixed page visibility issue on mobile device