Collapse borders in the menu bar