After a bit of stuggling, I found out that clicking the sidebar button in the top toolbar toggles the sidebar state (collapsed or expanded). If you don't have the button in the toolbar, you can add it from the "customize toolbar" in the right click m...