CRM Template, Collapse Left Menu

Is there a way to make a button on the left menu to collapse the sidebar into just icons to get back some screen space?

@patopt
Looks like the sidebar 's visibility is controlled via a variable


One solution is to create a collapsed sidebar that uses the same variable but with a ‘not’ operation.
When displaymenu is true, show the original sidebar and hide the collapsed sidebar.
When displaymenu is false, hide the original sidebar and show the collapsed sidebar.
In the expanded sidebar add a button with a workflow that changes the value of displaymenu to false.
In the collapsed sidebar add a button with a workflow that changes the value of displaymeny to true.

Thanks! Let me play around w/this some.