         
         //tableview setup
         if tableView == nil {
-            tableView = UITableView(frame: CGRectMake(0, 70, view.frame.size.width, view.frame.size.height-70), style:.Plain)
+            tableView = UITableView()
         }
         tableView.backgroundColor = UIColor.clearColor()
         tableView.separatorStyle = .None

            }
        }
        currentController?.view.transform  = CGAffineTransformScale(CGAffineTransformIdentity, 0.6, 0.6)
        if !slideContainerView {
            self.containerViewWidthConstraint.constant = UIScreen.mainScreen().bounds.width + 20
            self.view.layoutIfNeeded()
        }
    }

    // MARK: - Show & Close menu

                    self.view.alpha = 0
                    navigationController.presentViewController(self, animated:false, completion: { () -> Void in
                        if let frame = self.frame {
                            if let containerViewWidthConstraint = self.containerViewWidthConstraint {
                                if self.slideContainerView {
                                    containerViewWidthConstraint.constant = self.minContainerViewWidth
                                } else {
                                    containerViewWidthConstraint.constant = UIScreen.mainScreen().bounds.width + 20
                                }
                                self.view.layoutIfNeeded()
                            } else {
                                self.updateFrames()
                            }
                        }
                        UIView.animateWithDuration(0.35, delay:0.0, options:.CurveEaseInOut, animations: { () -> Void in
                            self.view.alpha = 1.0
                            self.doneAnimations = true
                            if self.slideContainerView {
                                if let frame = self.frame {
                                    if let containerViewWidthConstraint = self.containerViewWidthConstraint {
                                        containerViewWidthConstraint.constant = self.maxContainerViewWidth
                                        self.view.layoutIfNeeded()
                                    } else {
                                        self.updateFrames()
                                    }
                                }
                            }
                            self.tableView.reloadData()
                            }, completion: { (finished) -> Void in
                                if self.delegate?.respondsToSelector(Selector("didShowMenu:inViewController:")) == true {
