Add hide all functionality.
Allows for all items in the menu to disappear
when the menu is collapsed.