changing focus of tree based on current branch, passing references to root node