A paged collection view flow layout in Swift