Achieved by introducing auto_group_bounds function that produces the start/end indexes of a group inside an auto layot container.
- added L_AUTO_FIRST/LAST instead of using explicit layouts. - when switching between auto layout that don't share the same major axis, invert the width/height of their child views to preserve their relative proportions.