Updating menu bar to handle overflow