 	
 	private var lastCollectionViewSize: CGSize = CGSize.zero
 	private var lastScrollDirection: UICollectionViewScrollDirection!
+    private var lastItemSize: CGSize = CGSize.zero
 	
 	public override init() {
 		super.init()


		// invalidate layout to center first and last
		let currentCollectionViewSize = collectionView.bounds.size
		if !currentCollectionViewSize.equalTo(lastCollectionViewSize) || lastScrollDirection != scrollDirection {
			let inset: CGFloat
			switch scrollDirection {
			case .horizontal:

			}
			lastCollectionViewSize = currentCollectionViewSize
			lastScrollDirection = scrollDirection
            lastItemSize = itemSize
		}
	}
	
