Remove getNextOrPrevRenderObjectBasedOnDirection() as it should not be needed with the subtrees approach

This could be sent in a separated patch after the subtrees approach is integrated.