 
     define = {
       sideWidth: hg.value 400
+      collapsed: hg.value false
       channels: {
         changeWidth: changeWidth
+        toggleCollapsed: toggleCollapsed
       }
       steps: {
         stepIn: stepIn

          cursor: if state.collapsed then '' else 'ns-resize'
          display: 'flex'
          'flex-direction': 'column'
        'ev-mousedown': dragHandler state.channels.changeHeight, {}
      }, [
        h('div', {
            style: {

    state.sideWidth.set(data.sideWidth)

  toggleCollapsed = (state, data) ->
    state.collapsed.set(!state.collapsed())

  App = ->
    stepContinue = StepButton('continue', 'continue')
