public void onMouseUp(@Nonnull final MouseUpEvent event) {
    dragging = false;
    DOM.releaseCapture(container.getElement());
    ClientLog.log("UP", null);
    event.stopPropagation();
    event.preventDefault();
    DOM.setStyleAttribute(widget.getElement(), "border", "red 2px solid");
    y += delta;

    //        widget.getElement().setAttribute("style", originalStyle);
  }
  @Override
  public void onMouseUp(MouseUpEvent event) {
    event.preventDefault();
    event.stopPropagation();

    if (this.activeLook) {
      switch (event.getNativeButton()) {
        case NativeEvent.BUTTON_LEFT:
          this.moveForward = false;
          break;
        case NativeEvent.BUTTON_RIGHT:
          this.moveBackward = false;
          break;
      }
    }
  }