refactor orbitCamera