To collapse the sections in your map:
Click "Add"
Enter "Collapse sections"
To un-collapse the, enter "Expand sections"
Collapsed sections will look like this in your map:
If you want to fold/unfold your categories, or collapse them, then you can "Collapse sections".