updated functions to hide address bar in mobile safari