code: def pa_pan(self, viewer, event, msg=True):
          
          return self.gs_pan(viewer, event.state,
                             event.delta_x, event.delta_y, msg=msg)
docs: Interactively pan the image by a pan gesture.
          (the back end must support gestures)