Maybe moveChildBefore and referenceElement (or referenceNode).