Implemented camera pan.