Basic orientation support
Merge pull request #7 from hyperfiction/device/orientation

Basic orientation support