add pan with middle mouse button