changed signs for dragging and value of zooming