     @model.route.createNewTree()
 
 
-  setActiveTree : (treeId) ->
+  setActiveTree : (treeId, centered) ->
 
     @model.route.setActiveTree(treeId)
+    if centered
+      @centerActiveNode()
 
 
   setActiveNode : (nodeId, centered, mergeTree) ->


  prevComment : =>

    @setActiveNode(@model.route.nextCommentNodeID(false))


  nextComment : =>

    @setActiveNode(@model.route.nextCommentNodeID(true))


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



