page visibility patch