Fold status of sidepanel

Useful for #193 

sidepanelFolder directive is now configurable. Add "foldSidepanel" : true` to the `main` section of a config to hide the sidepanel on startup.