             make.centerY.equalTo(titleWrapper)
             make.right.equalTo(closeButton.superview!)
         }
+        
+        
+        let gradientLayer = CAGradientLayer()
+        gradientLayer.frame = self.titleWrapperBackground.bounds
+        gradientLayer.colors = [UIColor.whiteColor().CGColor, UIColor.clearColor().CGColor]
+        self.titleWrapperBackground.layer.mask = gradientLayer
     }
 
 

        self.closeButton.setImage(UIImage(named: "stop"), forState: UIControlState.Normal)
        self.closeButton.tintColor = .blackColor()
        
        self.titleWrapper.backgroundColor = UIColor.whiteColor().colorWithAlphaComponent(0.6)
        
        self.titleWrapper.addSubview(self.closeButton)
        self.titleWrapper.addSubview(self.titleLbl)
        self.titleWrapper.addSubview(self.favicon)

            make.width.equalTo(titleWrapper.superview!.snp_width)
            make.height.equalTo(TabTrayControllerUX.TextBoxHeight)
        }
        
        titleWrapperBackground.snp_remakeConstraints { make in
            make.edges.equalTo(titleWrapper)
        }

        titleLbl.snp_remakeConstraints { make in
            make.left.equalTo(favicon.snp_right).offset(generalOffset)
