Implemented manual pan and zoom.