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

                
                for(var i = 0; i < 4; i++){
                    self.screentransitionbuttonarray[i].alpha = 0.0
                    self.GestureRecognizerViewArray[i].addGestureRecognizer(self.tap[i])
                    self.AnimationMenuView.addSubview(self.GestureRecognizerViewArray[i])
                    self.AnimationMenuView.sendSubviewToBack(self.GestureRecognizerViewArray[i])

                }
                
                },

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