flow layout refined