     
     override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
         super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
-        self.delegate = self.sloppySwiping
+        delegate = sloppySwiping
     }
 
     required init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
-        self.delegate = self.sloppySwiping
+        delegate = sloppySwiping
     }
     
     override init(navigationBarClass: AnyClass?, toolbarClass: AnyClass?) {
         super.init(navigationBarClass: navigationBarClass, toolbarClass: toolbarClass)
-        self.delegate = self.sloppySwiping
+        delegate = sloppySwiping
     }
     
     override init(rootViewController: UIViewController) {
         super.init(rootViewController: rootViewController)
-        self.delegate = self.sloppySwiping
+        delegate = sloppySwiping
     }
     
 }

        self.popRecognizer = UIPanGestureRecognizer()
        self.navigationController = navigationController
        super.init()
        self.popRecognizer.addTarget(self, action: #selector(SloppySwiping.popRecognizerPanned(_:)))
        navigationController.view.addGestureRecognizer(self.popRecognizer)
    }
    
    // MARK: Private

        let options: UIViewAnimationOptions
        if abs(comfortVelocity.x) > 0 {
            options = .curveEaseOut
            duration = durationForDistance(distance: maxDistance, velocity: abs(comfortVelocity.x))
        }
        else {
            options = UIViewAnimationOptions()
            duration = defaultCancelPopDuration
        }
        
        activeDuration = duration
        
        activeContext?.finishInteractiveTransition()
        
        UIView.animate(withDuration: duration,
            delay: 0,
            options: options,
            animations: { () -> Void in
                self.frontContainerView.transform = CGAffineTransform(
                    translationX: maxDistance, y: 0
                )
                toView.transform = .identity
                self.backOverlayView.alpha = 0.0
                self.frontContainerView.dropShadowView.alpha = 0.0
            },
            completion: { (completed) -> Void in
                fromView.removeFromSuperview()
                self.frontContainerView.transform = .identity
                self.frontContainerView.removeFromSuperview()
                self.backOverlayView.removeFromSuperview()
                self.activeContext?.completeTransition(true)
