     state.sideWidth.set(data.sideWidth)
 
   toggleCollapsed = (state, data) ->
+    state.collapsed.set(!state.collapsed())
 
   App = ->
     stepContinue = StepButton('continue', 'continue')

    state.height.set(data.height)

  toggleCollapsed = (state, data) ->
    console.log("toggle " + state.collapsed())
    state.collapsed.set(!state.collapsed())

  App = ->

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