public void hideContainer() {
menu.getElement().getStyle().setDisplay(Style.Display.NONE);
menuVisible = false;
for (int i = 0; i < handlerManager.getHandlerCount(HideEvent.getType()); i++) {
HideHandler hh = handlerManager.getHandler(HideEvent.getType(), i);
hh.onHide(new HideEvent(null));
}
}