Add device orientation event handler
Merge branch 'develop'