creating collection flow layout