the nodes now move along the tree properly