             }
         }
         currentIndex = selectedIndex
-        contentCollectionView.reloadData()
+//        contentCollectionView.reloadData()
     }
 }
 

        } else {
            contentCollectionView.delegate = self
        }
        contentCollectionView(contentCollectionView, didShowViewWith: currentIndex)
        categoryHeaderView(headerView: headerView, selectedIndex: currentIndex)
    }
    
    override func viewWillLayoutSubviews() {

            }
        }
        currentIndex = index
//        contentCollectionView.reloadData()
    }
    
    func contentCollectionView(_ contentView: ContentCollectionView, didScrollFrom fromIndex: Int, to toIndex: Int, scale: Float) {
