https://www.php-resource.de/forum/blogs/amicanoctis/25-nested-set-move-subtree.html