Add folding capabilities to the menu