+
 import UIKit
 
 // MARK: - Delegate

    
    
    // MARK: - Gestures
    
    var dismissalGesture: UIPanGestureRecognizer?
    

        self.presentedViewController = presentedViewController
        self.isPresenting = true
        self.isInteractive = false
        super.init()
        self.presentingViewController!.view.addGestureRecognizer(self.presentationGesture)
    }
    
    deinit {
        removeDismissalGestureRecognizer()
        self.presentationGesture.removeTarget(self, action: #selector(WMFTableOfContentsAnimator.handlePresentationGesture(_:)))
        self.presentationGesture.view?.removeGestureRecognizer(self.presentationGesture)
    }
    
    weak var presentingViewController: UIViewController?
