Lyout construction rebuilt with flexbox.