Example code for camera swivel