Support orientation changes on all browsers