         dispatch_async(dispatch_get_main_queue()) {
             let borderWidth: CGFloat = ImagePickerViewController.borderWidth
             let border = UIView(frame: CGRect(x: self.bounds.size.width - borderWidth, y: 0, width: borderWidth, height: self.bounds.size.height))
-            border.backgroundColor = UIColor.whiteColor()
+            border.backgroundColor = ImagePickerViewController.bgColor
             self.contentView.addSubview(border)
             let sendColor = UIColor.whiteColor().colorWithAlphaComponent(0.4)
             var sendImg = UIImage(named: "ic_send_48pt.png", inBundle: NSBundle(forClass: ImagePickerViewController.self), compatibleWithTraitCollection: nil)!

    
    private let pickerContainer: UIView = {
        let v = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: pickerHeight))
        v.backgroundColor = UIColor.whiteColor()
        v.layer.shadowRadius = 2
        v.layer.shadowOpacity = 0.1
        v.layer.shadowColor = UIColor.blackColor().CGColor

        }()
    
    private var backgroundView: UIView = {
        let v = UIView(frame: UIScreen.mainScreen().bounds)
        v.backgroundColor = UIColor.blackColor().colorWithAlphaComponent(0.4)
        v.alpha = 0
        v.userInteractionEnabled = true
        return v
