         self.init()
         self.mainViewController = mainViewController
         self.leftViewController = leftViewController
-        setupView()
+		setupView()
+		setupLeftView()
     }
 	
 	/**

		:name:	switchLeftViewController
	*/
	public func switchLeftViewController(viewController: UIViewController, closeLeftViewContainerViewContainer: Bool) {
		removeViewController(leftViewController)
		leftViewController = viewController
		prepareContainedViewController(leftViewContainer, viewController: leftViewController)
		if closeLeftViewContainerViewContainer {
			closeLeftViewContainer()
		}

	internal func handleRightPanGesture(gesture: UIPanGestureRecognizer) {
		if isLeftContainerOpened { return }
		if .Began == gesture.state {
			if let vc = rightViewContainer {
				if let c = rightContainer {
					rightViewController?.beginAppearanceTransition(!isRightContainerOpened, animated: true)
					addShadow(&rightViewContainer)
					toggleWindow(shouldOpen: true)
					c.state = isRightContainerOpened ? .Opened : .Closed
					c.point = gesture.locationInView(view)
					c.frame = vc.frame
					delegate?.sideNavDidBeginRightPan?(self, container: c)
				}
			}
		} else if .Changed == gesture.state {
			if let vc = rightViewContainer {
				if let c = rightContainer {
					c.point = gesture.translationInView(gesture.view!)
					let r = (rightOriginX - vc.frame.origin.x) / vc.frame.size.width
					let s: CGFloat = 1 - (1 - options.contentViewScale) * r
					let m: CGFloat = rightOriginX - vc.frame.size.width
					let x: CGFloat = c.frame.origin.x + c.point.x
					vc.frame.origin.x = x > rightOriginX ? rightOriginX : x < m ? m : x
					backdropViewContainer?.layer.opacity = Float(r * options.contentViewOpacity)
					mainViewContainer?.transform = CGAffineTransformMakeScale(s, s)
					delegate?.sideNavDidChangeRightPan?(self, container: c)
				}
			}
		} else {
			if let vc = rightViewContainer {
				if let c = rightContainer {
					c.point = gesture.velocityInView(gesture.view)
					let x: CGFloat = c.point.x <= -1000 || c.point.x >= 1000 ? c.point.x : 0
					c.state = vc.frame.origin.x >= CGFloat(floor(rightOriginX) - options.pointOfNoReturnWidth) || c.point.x >= 1000 ? .Closed : .Opened
					if .Closed == c.state {
						closeRightViewContainer(velocity: x)
					} else {
						openRightViewContainer(velocity: x)
					}
					delegate?.sideNavDidEndRightPan?(self, container: c)
				}
			}
		}
	}
