Fixes #340. Will now emit orientation change event on resize for desktop
browser.