Limit height of the menu