Allow smoother transitions when switching from portrait to landscape orientation

Small tweak for smoother orientation change transition. Tested on nexus 7 tablet, latest safari, firefox & chrome.