add collapsible left panel toggle state and interaction