 			length += model.lengthOfOnePartialItem
 		}
 		if model.hasPartialItemBefore {
-			length += model.lengthOfPartialItemBefore
+			length += model.lengthOfFullItem
+//			length += model.lengthOfPartialItemBefore
 		}
 		length += model.lengthOfAllFullItems
 		if model.hasPartialItemAfter {

				scale = 0.01
			}
			model.scale = scale
			let markersBefore = model.markers
			model.updateRange()
			let markersAfter = model.markers
			updateContentInset()
			
			if markersBefore != markersAfter {
				collectionView.reloadData()
			}
			
			layout.itemSize = computeItemSize()
			layout.invalidateLayout()

	var lengthOfPartialItemBefore: Double {
		return ceil(lengthOfFullItem * sizeOfPartialItemBefore)
	}
	var remainingLengthOfPartialItemBefore: Double {
		return ceil(lengthOfFullItem * (1.0 - sizeOfPartialItemBefore))
	}
	var lengthOfPartialItemAfter: Double {
		return ceil(lengthOfFullItem * sizeOfPartialItemAfter)
	}
	var remainingLengthOfPartialItemAfter: Double {
		return ceil(lengthOfFullItem * (1.0 - sizeOfPartialItemAfter))
	}
	
	static let height: CGFloat = 130
