 		instance.backgroundColor = UIColor.whiteColor()
 		instance.delegate = self
 		instance.dataSource = self
-//		instance.bounces = false
+		instance.bounces = false
+		instance.alwaysBounceHorizontal = true
+		instance.alwaysBounceVertical = false
+//		instance.pagingEnabled = false
+//		instance.directionalLockEnabled = true
 //		instance.allowsSelection = false
 		instance.registerClass(SliderCell.self, forCellWithReuseIdentifier: SliderCell.identifier)
-		
-//		instance.minimumZoomScale = 1.0
-//		instance.maximumZoomScale = 2.0
-//		instance.zoomScale = 1.5
 		return instance
 	}()
 	

//		instance.headerReferenceSize = CGSizeZero
//		instance.footerReferenceSize = CGSizeZero
		instance.itemSize = computeItemSize()
		return instance
	}
	

		scrollDirection = .Horizontal
		minimumInteritemSpacing = 1
		minimumLineSpacing = 1
		sectionInset = UIEdgeInsetsZero
		headerReferenceSize = CGSizeZero
		footerReferenceSize = CGSizeZero
	}
	
	override func collectionViewContentSize() -> CGSize {
		guard let model = self.model else {
			return CGSizeZero
		}
		return CGSize(width: CGFloat(model.count * 25 + (model.count + 1)) * model.scale, height: 100)
	}
	

//	override func shouldInvalidateLayoutForBoundsChange(newBounds: CGRect) -> Bool {
//		return true
//	}
