moved all camera control to photo.js