     private func presentMenu() {
 
         UIView.animateWithDuration(0.25, animations: { () -> Void in
-            self.bgView?.alpha = 0.7
-            self.imageView?.transform = CGAffineTransformMakeRotation(CGFloat(-M_PI + -M_PI_4))
+            self.bgView?.alpha = self.menuBgOpacity
+            self.imageView?.transform = CGAffineTransformMakeRotation(self.imageRotationAngle)
         })
     }
     

        self.addSubview(button!)
    }
    
    private func configureMenuTableView() {
        menuTableView = UITableView(frame: CGRect(x: screenWidth/4, y: 0, width: 0.75 * screenWidth, height: screenHeight - (screenHeight - CGRectGetMaxY(self.frame))))
        menuTableView!.tableHeaderView = UIView(frame: CGRect(x: 0, y: 0, width: screenWidth/2, height: self.bounds.height/2))
        menuTableView!.scrollEnabled = false
        menuTableView!.dataSource = self
        menuTableView!.delegate = self

        UIView.animateWithDuration(0.25, animations: { () -> Void in
            self.menuTableView?.alpha = 0.0
            self.bgView?.alpha = 0.0
            self.imageView!.transform = CGAffineTransformIdentity
            
            }) { _ in
                self.bgView?.removeFromSuperview()
