How to make changes on side menu position


I want to change the position of the side menu, instead of covering whole screen i want to place it in the main content, plus I tried to make it collapsed at the beginning even with full sized page, and actually toggle it only with a certain button is clicked, I made a copy of the layout to try on it, but I can't achive this:

and even when tried to toggle it using the same javascriot, when open i can't close it again:

and I made a copy of the layout and cant find where to use submenuebhaviour input:

Hi Abeer,

Not sure if it solves your problem or not but i see the SideBar widget of Outsystems UI (Navigation-->Sidebar ) which you can use and then use the toggle-sidebar action to show hide your menu.