Project Example: Link (require MenuWidgetMaster plugin, work on 4.25-4.27)
Easily navigate menu just by call show will automatically hide the current displayed menu then show the new one and call return will hide the current menu and show the previous menu.
It has built-in function to play show and hide animation.