@Override
  protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws IOException {
    if (mouseY > bottomLocation && mouseY < bottomLocation + MIDDLE_HEIGHT) {
      dragging = true;
      dragOffset = mouseY - bottomLocation;

      return;
    }

    if (list.func_148179_a(mouseX, mouseY, mouseButton)) {
      return;
    }
    if (details.func_148179_a(mouseX, mouseY, mouseButton)) {
      return;
    }
    super.mouseClicked(mouseX, mouseY, mouseButton);
  }