correctly use ExtendsInNonOrientationDirection when arranging so it works as expected according to Orientation