apply StaggeredGridLayout