toggling submenus

I’m working with the Aeon Nox 5 skin, and would like to add a bit of code to toggle the submenus like the Aeon Nox 5: SiLVO mod does. The submenus in his build hide/unhide by toggling with the remote or mouse. This way, the main menus only display the submenu items beneath when toggled. I have an ’18+’ menu item, but don’t really want the subs to display their names across the screen unless I toggle them. Tongue

Thanks in advance.. any help appreciated.