Fold-Out External Menu

hey everyone, thanks to anyone in advance who can help me. I want to use the fold-out external menu on the site, but I want it to reveal from the top edge and not the left edge. is there any way i can modify the code to do this?