moving subtrees up and down implemented.