Collapse top menu after selection is made