     addSubview(rightButton)
   }
   
-  // создаем левую кнопку
-  private func createLeftButton() -> UIButton {
-    let button = UIButton()
+  // создает управляющие кнопки
+  private func createButton(#image: UIImage, action:Selector) -> UIView {
+    let button = UIView()
     button.frame.size = kButtonSize
-    button.setImage(UIImage(named: "grid_icon"), forState: UIControlState.Normal)
     button.backgroundColor = UIColor(red: 0.803, green: 0.788, blue: 0.788, alpha: 0.5)
-    button.addTarget(self, action: "showGrid:", forControlEvents: .TouchUpInside)
-    
-    return button
-  }
-  
-  // создаем правую кнопку
-  private func createRightButton() -> UIButton {
-    let button = UIButton()
-    button.frame.size = kButtonSize
-    button.setImage(UIImage(named: "rotate_camera"), forState: UIControlState.Normal)
-    button.backgroundColor = UIColor(red: 0.803, green: 0.788, blue: 0.788, alpha: 0.5)
-    button.addTarget(self, action: "flipCameras:", forControlEvents: .TouchUpInside)
+    
+    let imageView = UIImageView(image: image)
+    imageView.center = button.center
+    button.addSubview(imageView)
+    
+    let tapGR = UITapGestureRecognizer(target: self, action: action)
+    button.addGestureRecognizer(tapGR)
     
     return button
   }

  let kGridViewTag = 3
  let kButtonOffset: CGFloat = 10
  
  var leftButton: UIButton!
  var rightButton: UIButton!
  var prevDeviceOrientation: UIDeviceOrientation = .Portrait
  
  init(frame: CGRect) {

  
  // создаем кнопки сетки и фиксации фотографии + саму сетку на доп слое
  private func createControlElements() {
    leftButton = createButton(image: UIImage(named: "grid_icon"), action: "showGrid:")
    rightButton = createButton(image: UIImage(named: "rotate_camera"), action: "flipCameras:")
    
    let orientation = UIDevice.currentDevice().orientation
    layout(orientation, animation: .BeforeAnimation)
