 
 extension COSlideMenuController {
     
-    func toggleMenu() {
+    public func toggleMenu() {
         let fMain = mainContainer.view.frame
         if CGRectGetMinX(fMain) == distanceOpenMenu {
             closeMenu()

    
    // MARK: Public
    
    weak var delegate: COSlideMenuDelegate?
    var menuAnimation = MenuAnimation.Slide {
        didSet {
            resetMenu()
        }
    }
    
    var menuViewController: UIViewController?  {
        willSet {
            if let menuViewController = self.menuViewController {
                menuViewController.willMoveToParentViewController(nil)

            }
        }
    }
    public var mainViewController: UIViewController? {
        willSet {
            if mainContainer == newValue {
                if (CGRectGetMinX(mainContainer.view.frame) == distanceOpenMenu) {
