         }
         
         if circulating {
-            //            let multiplier = Int(self.width / (itemSize.width + itemSpace))
-            //            var remainder = self.width - (itemSize.width + itemSpace) * CGFloat(multiplier)
-            //
-            //            if 0 < remainder && remainder < 1 {
-            //                // ignore tiny space
-            //                remainder = 0
-            //            }
-            //            if remainder > 0 {
-            //                dummyCount = multiplier + 1
-            //            } else if remainder == 0 {
-            //                dummyCount = multiplier
-            //            } else {
-            //                loge("check calculation logic")
-            //            }
             dummyCount = itemCount
             if dummyCount >= 1 {
                 dummyWidth = CGFloat(dummyCount) * (itemSize.width + itemSpace)

// MARK: - UICollectionViewDelegate
extension HFSwipeView: UICollectionViewDelegate {
    public func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        self.delegate?.swipeView?(self, didSelectItemAtPath: showingIndexUsing(indexPath), tappedDirection: lastDirection)
        moveRealPage(indexPath.row, animated: true)
        updateIndex(indexPath)
    }

        self.itemSize = self.dataSource?.swipeViewItemSize(self)
        guard let itemSize = self.itemSize else {
            loge("item size not provided")
            return false
        }
        if itemSize == CGSizeZero {
            loge("item size error: CGSizeZero")
            return false
        } else {
            log("itemSize is \(itemSize)")
        }
