Add DeviceOrientation Event handling
Merge branch 'develop' into gh-pages