 
         mediaRibbonView.alpha = (cameraControlsView.top < cameraFrame.bottom) ? 0.25 /* TODO */ : 1
         
-        closeButton.frame = CGRect(
-            origin: CGPoint(x: 8, y: 8),
-            size: closeButtonSize
-        )
-        
-        continueButton.top = 8
-        continueButton.right = bounds.right - 8
+        layoutCloseAndContinueButtons()
 
         flashView.frame = bounds
     }

    }
    
    func adjustForDeviceOrientation(orientation: DeviceOrientation) {
        let transform = CGAffineTransform(deviceOrientation: orientation)
        setControlsTransform(transform)
    }

    func setControlsTransform(transform: CGAffineTransform) {
        
        photoView.transform = transform
        closeButton.transform = transform

        
        closeButton.backgroundColor = .whiteColor()
        closeButton.layer.cornerRadius = closeButtonSize.height / 2
        closeButton.size = closeButtonSize
        
        continueButton.backgroundColor = .whiteColor()
        continueButton.layer.cornerRadius = continueButtonHeight / 2
