The toggling of the menu is basically provided for the mobile devices. There is an anchor tag generated for the same with href.
And for a mobile device , there will be a tap or a click action(in desktop) . I am bit confused that how we can use the hover action in the mobile devices. So its better to use the tap or click action only instead of the hover
Hopefully this helps you in undestanding the functionality. Correct me for something worng .