     
     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
     }
     
 }

    // MARK: UIViewControllerInteractiveTransitioning
    
    @objc func startInteractiveTransition(_ transitionContext: UIViewControllerContextTransitioning) {
        self.activeContext = transitionContext
        self.prepForPop()
    }

    // MARK: Private / Convenience
    
    func prepForPop() {
        
        guard let transitionContext = self.activeContext,
            let fromView = transitionContext.view(forKey: UITransitionContextViewKey.from),
            let toView = transitionContext.view(forKey: UITransitionContextViewKey.to) else {
                return

            duration = defaultCancelPopDuration
        }
        
        activeDuration = duration
        
        activeContext?.cancelInteractiveTransition()
        
        UIView.animate(withDuration: duration,
            delay: 0,
            options: options,
            animations: { () -> Void in
                self.frontContainerView.transform = .identity
                toView.transform = CGAffineTransform(translationX: resolvedToViewOffset, y: 0)
                self.backOverlayView.alpha = 1.0
                self.frontContainerView.dropShadowView.alpha = 1.0
            },
            completion: { (completed) -> Void in
                toView.transform = .identity
                container.addSubview(fromView)
                self.backOverlayView.removeFromSuperview()
                self.frontContainerView.removeFromSuperview()
