Simple code for pan and tilt and movement