code: protected void stopDragging() {
  
          clearScrollTimer();
          m_dragging = false;
          if (m_previewHandlerRegistration != null) {
              m_previewHandlerRegistration.removeHandler();
              m_previewHandlerRegistration = null;
          }
      }
docs: Sets dragging to false and removes the event preview handler.<p>