Added a 'flexbox' property to CollapsibleChild class,
and given it the responsibility for rendering flexboxes correctly.