Creating a bespoke menu

I want to create a toggle menu for mobile so that when the ‘Hamburger’ icon is clicked it toggles and reveals the menu.
I have got as far as creating it, however cannot seem to hide the hamburger icon as the menu is pushing it below. Any idea how to hide this hamburger icon when its clicked? so it behaves as a normal menu…?

Thanks