         
     }
     
+    
+    func setupStatusBarBackgroundView(){
+        
+        let effect = UIBlurEffect(style: UIBlurEffectStyle.Light)
+        
+        let viewWithBlurredBackground = UIVisualEffectView(effect: effect)
+        viewWithBlurredBackground.frame = UIApplication.sharedApplication().statusBarFrame
+        viewWithBlurredBackground.alpha = 1.0
+        
+        statusBarBackgroundView = UIView(frame: UIApplication.sharedApplication().statusBarFrame)
+        statusBarBackgroundView .backgroundColor = UIColor.clearColor()
+        statusBarBackgroundView .alpha = 0.0
+        statusBarBackgroundView .addSubview(viewWithBlurredBackground)
+        
+        self.view.addSubview(statusBarBackgroundView)
+   
+    }
+    
+    func animateInStatusBarBackgroundView(isInOrOut : Bool){
+    
+        var alpha : CGFloat = 0.0
+        
+        if(isInOrOut == true){
+          
+            alpha = 1.0
+            
+        }
+        else{
+            
+            alpha = 0.0
+            
+        }
+        
+        UIView.animateWithDuration(kStatusBarBackgroundViewFadeDuration, animations: {
+            self.statusBarBackgroundView.alpha = alpha
+        })
+        
+    }
+    
+    
     func setupHeaderView(){
         
         headerImageView = UIImageView(frame: CGRectMake(0, 0, view.frame.width, kHeaderImageViewHeight))

        setupCollectionView()
        
        setupHeaderView()

        // Do any additional setup after loading the view.
    }

    
    var headerImageView : UIImageView!
    
    var statusBarBackgroundView : UIView!
    
    let kHeaderViewHeight : CGFloat = 480
    let kHeaderImageViewHeight : CGFloat = 375
    let kStatusBarMagicLine : CGFloat = 100
    let kParalaxImageViewScrollRate : CGFloat = 0.50
    let kStatusBarBackgroundViewFadeDuration : NSTimeInterval = 0.3
    let kHeightOfProfilePictureImageView : CGFloat = 75

    override func viewDidLoad() {
        super.viewDidLoad()
