   
   init(mainViewController: UIViewController, leftMenuViewController: UIViewController) {
     self.menuWidth = CGRectGetWidth(UIScreen.mainScreen().bounds) - 100
+    self.menuAnimationDuration = 0.5
+    
     self.mainViewController = mainViewController
     self.leftViewController = leftMenuViewController
     
     self.mainView = UIView()
     self.hideView = UIView()
     self.leftMenuView = UIView()
-    self.animationDuration = 0.3
     
     self.leftMenuStatus = .HFSideMenuStatusUnknown
     super.init(nibName: nil, bundle: nil)

  
  private func setupHideView() {
    hideView.frame = view.bounds
    hideView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
    hideView.alpha = 0.0
    mainView.addSubview(hideView)

  private func setHideViewWithSideMenuTransitionType(sideMenuTransitionType: HFSideMenuTransitionType) {
    unowned let ownedSelf = self
    if sideMenuTransitionType == .HFSideMenuTransitionResetFromRight {
      UIView.animateWithDuration(Double(menuAnimationDuration) , animations: {
        ownedSelf.hideView.alpha = 0.0
      }, completion: { (finished) in
        ownedSelf.mainView.sendSubviewToBack(ownedSelf.hideView)
      })
    } else if sideMenuTransitionType == .HFSideMenuTransitionToRight {
      mainView.bringSubviewToFront(hideView)
      UIView.animateWithDuration(Double(menuAnimationDuration), animations: {
        ownedSelf.hideView.alpha = 1.0
      })
    }
