if there's already a toggle that moves your menu from top to bottom, chances are you are attaching some class to the menu on click.
Adding a position:fixedto your menu with a negative translate and overriding that active class's css to change the transform:translateX to the menu should be an appropriate solution.