Pull out orientation logic from camera.js
Merge pull request #4 from wilsonpage/justin-master

Pull out orientation logic from camera.js