             if self.scaleBackgroundImageView {
                 self.backgroundImageView!.transform = CGAffineTransform.identity
             }
-        }) { (Bool) in
+        }) { (_) in
             self.addContentViewControllerMotionEffects()
             self.leftMenuViewController?.endAppearanceTransition()
 

            UIApplication.shared.beginIgnoringInteractionEvents()
            UIView.animate(withDuration: self.animationDuration, animations: {
                animationBlock()
                }, completion: { (Bool) in
                    UIApplication.shared.endIgnoringInteractionEvents()
                    completionBlock()
            })


    public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
        if self.interactivePopGestureRecognizerEnabled && self.contentViewController! is UINavigationController {
            let navigationController: UINavigationController = (self.contentViewController as UINavigationController)
            if navigationController.viewControllers.count > 1 && navigationController.interactivePopGestureRecognizer!.isEnabled {
                return false
            }
