code: protected void onMenuClose(CmsSitemapHoverbar hoverbar) {
  
          m_button.setDown(false);
          if (!hoverbar.isHovered()) {
              hoverbar.hide();
          } else {
              hoverbar.setLocked(false);
          }
      }
docs: Rests the button state and hides the hoverbar.<p>
  
  @param hoverbar the hoverbar