 
         self.clipsToBounds = true
         self.layer.insertSublayer(gradientLayer, at: 0)
-        self.layer.drawsAsynchronously = true
         self.layer.shouldRasterize = true
         self.layer.rasterizationScale = UIScreen.main.scale
     }


class CMKCollectionView: UICollectionView {
    
    let gradientLayer: CAGradientLayer = {
        let layer = CAGradientLayer()
        layer.colors = [UIColor.white.withAlphaComponent(1).cgColor,
                        UIColor.white.withAlphaComponent(0).cgColor,

        layer.endPoint = CGPoint(x: 1.0, y: 0.5)
        layer.shouldRasterize = true
        layer.rasterizationScale = UIScreen.main.scale
        
        return layer
    }()
