}
@Override
public void onPlaceChange(final PlaceChangeEvent event) {
sideBar.setInnerHTML("");
final MenuItem currentMenuItem = findCurrentMenuItem(event.getNewPlace());
if (currentMenuItem != null && currentMenuItem.getParent() != null && currentMenuItem.getParent().getTitle() != null) {
drawMenu(currentMenuItem);
sideBar.removeClassName("hide");
} else {
// do not draw root menu on the side
sideBar.addClassName("hide");