         
         if let viewController = leftMenuViewController {
             
-            showMenuViewController(.Left, menuViewController: viewController)
-            
-            UIView.animateWithDuration(NSTimeInterval(animationDuration), animations: {[unowned self] () -> Void in
-                
-                self.animateMenuViewController(.Left)
+            showMenuViewController(side: .Left, menuViewController: viewController)
+            
+            UIView.animate(withDuration: TimeInterval(animationDuration), animations: {[unowned self] () -> Void in
+                
+                self.animateMenuViewController(side: .Left)
                 
                 self.menuViewContainer.alpha = 1
                 self.contentViewContainer.alpha = CGFloat(self.contentViewFadeOutAlpha)
                 
                 }, completion: {[unowned self] (Bool) -> Void in
-                    self.animateMenuViewControllerCompletion(.Left, menuViewController: viewController)
+                    self.animateMenuViewControllerCompletion(side: .Left, menuViewController: viewController)
                 })
             
             statusBarNeedsAppearanceUpdate()

    struct ContentViewShadow {
        
        var enabled: Bool = true
        var color: UIColor = UIColor.blackColor()
        var offset: CGSize = CGSizeZero
        var opacity: Float = 0.4
        var radius: Float = 8.0
        
        init(enabled: Bool = true, color: UIColor = UIColor.blackColor(), offset: CGSize = CGSizeZero, opacity: Float = 0.4, radius: Float = 8.0) {
            
            self.enabled = false
            self.color = color

                    self.backgroundImageView.transform = self.backgroundTransformation
                }
            }
            if self.parallaxEnabled {
                self.removeMotionEffects(targetView: self.contentViewContainer)
            }
        }
        
        let completionClosure: () -> () =  {[unowned self] () -> () in
