code: def sc_imap(self, viewer, event, msg=True):
          
          direction = self.get_direction(event.direction)
          self._cycle_imap(viewer, msg, direction=direction)
          return True
docs: Interactively change the intensity map by scrolling.