Collapse menu button when menu item is clicked