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

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

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


        mediaRibbonView.alpha = (cameraControlsView.top < cameraFrame.bottom) ? 0.25 /* TODO */ : 1
        
        layoutCloseAndContinueButtons()

        flashView.frame = bounds
    }
