rotating trees with children