 
     gui.on
       deleteActiveNode : @deleteActiveNode
-      setActiveTree : (id) => @setActiveTree(id)
+      setActiveTree : (id) => @setActiveTree(id, false)
       setActiveNode : (id) => @setActiveNode(id, false) # not centered
 
     gui

    @model.route.createNewTree()


  setActiveTree : (treeId) ->

    @model.route.setActiveTree(treeId)


  setActiveNode : (nodeId, centered, mergeTree) ->


      $("#tree-list").on "click", "a[data-treeid]", (event) =>
        event.preventDefault()
        @setActiveTree($(event.target).data("treeid"), true)



