Implement Node.previousSibling and Node.nextSibling