             })
             
         }else{      //メニューが消える
+            
             UIView.animateWithDuration(0.3, animations: { () -> Void in
                 self.circleimageview.alpha = 0.0
                 for(var i = 0; i < 4; i++){

            
            screentransitionbuttonarray.append(screentransitionbuttonwork)
            GestureRecognizerViewArray.append(GestureRecognizerViewwork)
            tap.append(UITapGestureRecognizer(target: self, action: "onTap:"))
            screentransitionbuttonarray[i].tag = i
            GestureRecognizerViewArray[i].tag = i
            AnimationMenuView.addSubview(screentransitionbuttonarray[i])
//            AnimationMenuView.addSubview(GestureRecognizerViewArray[i])
        }
        
        

            UIView.animateWithDuration(0.3, delay: 0.1, options: UIViewAnimationOptions.TransitionCurlDown, animations: { () -> Void in
                self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
                }, completion: { _ in
            })
            
            self.view.sendSubviewToBack(self.AnimationMenuView)
        }
        
    }
    
    func onTap(gestureRecognizer: UITapGestureRecognizer){
        if(menushow == 1){
            print("tap")
        }else{
        }
    }
    
    func ScreenTransitionButtontapped(sender: UIButton){
