 
 		
 		var frame = view.bounds
-		frame.size.height = collectionViewHeight
+		frame.size.height = CollectionViewModel.height
 		frame.origin.y = (view.bounds.height - frame.height) * 0.5
 		collectionView.frame = frame
 //		collectionView.setNeedsLayout()

	var scaleRounded: CGFloat {
		return floor(scale + 0.5)
	}
}

class MyCollectionView: UICollectionView {

	
	func computeItemSize() -> CGSize {
//		return CGSize(width: w, height: collectionView.bounds.height)
		return CGSize(width: model.scaleRounded, height: CollectionViewModel.height)
//		return CGSize(width: w, height: 40)
//		return CGSize(width: w, height: 150)
	}
