 		:name:	toggleLeftViewContainer
 	*/
 	public func toggleLeftViewContainer(velocity: CGFloat = 0) {
-		openLeftViewContainer(velocity)
+		isLeftContainerOpened ? closeLeftViewContainer(velocity) : openLeftViewContainer(velocity)
 	}
 	
 	/**

	}
	
	/**
		:name:	isViewBasedAppearance
	*/
	public var isViewBasedAppearance: Bool {
		return 0 == NSBundle.mainBundle().objectForInfoDictionaryKey("UIViewControllerBasedStatusBarAppearance") as? Int
	}
	
	/**
		:name:	isLeftContainerOpened
	*/
	public var isLeftContainerOpened: Bool {
		if let v = leftView {
			return v.x != -leftViewControllerWidth
		}
		return false
	}
	
	/**
		:name:	isUserInteractionEnabled
	*/
	public private(set) var isUserInteractionEnabled: Bool {
		get {
			return mainViewController!.view.userInteractionEnabled
		}
		set(value) {
			mainViewController!.view.userInteractionEnabled = value
		}
	}
	
	/**

		
		// gestures
		prepareLeftGestures()
	}
	
	//
