Replace Grid by FlowBox