added working code to move the camera