pan on mouse but 1
alternate formula for pan/zoom