add collapsible left panel toggle state and interaction

(ref #48)