updates to the mobile Safari inactivity function