Use direct DOM sibling accessors to get previous and next rows to avoid ...

...catching parent or child tree nodes in overlaps, refs #862