recalc works now for opening and closing the tree