On your desktop client, you can easily hide and expand the Folder pane by clicking on the burger menu icon left from Inbox.