   let kLeftButtonTag = 1
   let kRightButtonTag = 2
   let kGridViewTag = 3
-  let kButtonOffset: CGFloat = 5
+  let kButtonOffset: CGFloat = 10
   
   var leftButton: UIButton!
   var rightButton: UIButton!

    button.backgroundColor = UIColor(red: 0.803, green: 0.788, blue: 0.788, alpha: 0.5)
    button.addTarget(self, action: "flipCameras:", forControlEvents: .TouchUpInside)
    
    switch UIDevice.currentDevice().orientation {
    case .Portrait:
      button.frame = CGRect(origin: CGPoint(x: screenWidth, y: kButtonOffset), size: kButtonSize)
    case .PortraitUpsideDown:
      button.frame = CGRect(origin: CGPoint(x: -CGRectGetWidth(button.frame), y: screenHeight - CGRectGetHeight(button.frame) - kButtonOffset), size: kButtonSize)
    case .LandscapeRight:
      button.frame = CGRect(origin: CGPoint(x: kButtonOffset, y: -CGRectGetHeight(button.frame)), size: kButtonSize)
    default:
      button.frame = CGRect(origin: CGPoint(x: screenWidth - kButtonOffset - CGRectGetWidth(button.frame), y: screenHeight), size: kButtonSize)
    }
    
    return button
  }
  

    
    leftButton = createLeftButton()
    rightButton = createRightButton()
    
    layout(UIDevice.currentDevice().orientation)
    layout(UIDevice.currentDevice().orientation)
    
    addSubview(leftButton)
    addSubview(rightButton)
