Default Side bar to hidden

Is there a way to default the sidebar to be hidden? I still want it displayed we just would like it to default the to hidden state so you have to click on the icon for it to display.