worked out some bugs in the zoom/rotate