not sure what you mean. the navigation menu (side bar) isn’t a page on its own and collapses, regardless of what page you’re on.
can you explain in more detail what it is you are wanting? i think you might have some terms mixed up or aren’t aware off some existing functionality and settings.
the hamburger icon (top left beside logo) collapses and expands the navigation sidebar menu.