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

                
                for(var i = 0; i < 4; i++){
                    self.screentransitionbuttonarray[i].alpha = 0.0
                }
                },
                
                completion: nil)

                self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
                
                for(var i = 0; i < 4; i++){
                    self.screentransitionbuttonarray[i].backgroundColor = UIColor(red: 1.0, green: 0.0, blue: 0.0, alpha: 0.0)
                }
                
                self.view.bringSubviewToFront(self.AnimationMenuView)
