Collapsible menu

Hi, how can i add a collapsible menu? thanks in advance

Please see this post

thank you mhartington