 	
 	func handlePinch(gesture: UIPinchGestureRecognizer) {
 		if gesture.state == .Began {
-			originalScale = scale
+			originalScale = model.scale
 		}
 		if gesture.state == .Changed {
-			scale = originalScale * gesture.scale
+			var scale = originalScale * gesture.scale
 			if scale < 0.0 {
 				scale = 0.01
 			}
+			model.scale = scale
 			
 			
 //			[self.collectionView removeGestureRecognizer:self.gesture];

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

	

	func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
		return model.count
	}
	
	func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
