         return view
     }()
 
-    private lazy var selectionColorLayer: CALayer = {
-        let layer = CALayer()
-
-        layer.backgroundColor = self.configuration.selectionBackgroundColor.cgColor
-
-        return layer
-    }()
-
     private func createMaskingLayer() -> CAShapeLayer {
         let layer = CAShapeLayer()
 

        let y = (frame.height / CGFloat(2)) - radius
        let x = (frame.width / CGFloat(2)) - radius

//        let path = UIBezierPath(roundedRect: CGRect(x: 0, y: 0, width: self.frame.width, height: self.frame.height), cornerRadius: 0)
        let circlePath = UIBezierPath(roundedRect: CGRect(x: x, y: y, width: 2 * radius, height: 2 * radius), cornerRadius: radius)
//        path.append(circlePath)
//        path.usesEvenOddFillRule = true

        layer.path = circlePath.cgPath
//        layer.fillRule = kCAFillRuleEvenOdd
//        layer.fillColor = backgroundColor?.cgColor

        return layer
    }

        
        leftGradientLayer.frame = CGRect(x: 0, y: 0, width: gradientWidth, height: Int(self.frame.height))
        rightGradientLayer.frame = CGRect(x: Int(self.frame.width) - gradientWidth, y: 0, width: gradientWidth, height: Int(self.frame.height))

        maskingLayer?.removeFromSuperlayer()
        maskingLayer = nil
