 public class DraggableCardView: UIView, UIGestureRecognizerDelegate {
 
     //Drag animation constants
-    public static var defaultRotationMax: CGFloat = 1.0
-    public static var defaultRotationAngle = CGFloat(Double.pi) / 10.0
-    public static var defaultScaleMin: CGFloat = 0.8
+    public var rotationMax = defaultRotationMax
+    public var rotationAngle = defaultRotationAngle
+    public var scaleMin = defaultScaleMin
     
     weak var delegate: DraggableCardDelegate?
     

    func card(cardSwipeSpeed card: DraggableCardView) -> DragSpeed
}

private let screenSize = UIScreen.main.bounds.size

//Reset animation constants

            layer.shouldRasterize = true
            
        case .changed:
            let rotationStrength = min(dragDistance.x / frame.width, self.rotationMax)
            let rotationAngle = animationDirectionY * self.rotationAngle * rotationStrength
            let scaleStrength = 1 - ((1 - self.scaleMin) * fabs(rotationStrength))
            let scale = max(scaleStrength, self.scaleMin)
    
            var transform = CATransform3DIdentity
            transform = CATransform3DScale(transform, scale, scale, 1)
