         view.backgroundColor = self.environment.styles.standardBackgroundColor()
         
         view.addSubview(contentView)
-        view.addSubview(refineLabel)
-        view.addSubview(headerButtonHolderView)
+        contentView.addSubview(refineLabel)
+        contentView.addSubview(headerButtonHolderView)
 
         headerButtonHolderView.addSubview(filterButton)
         headerButtonHolderView.addSubview(sortButton)

        
        self.navigationItem.title = context.navigationItemTitle
        self.navigationItem.backBarButtonItem = UIBarButtonItem(title: " ", style: .Plain, target: nil, action: nil)
        loadController.setupInController(self, contentView: self.tableView)
        insetsController.setupInController(self, scrollView: tableView)
        refreshController.setupInScrollView(tableView)
        insetsController.addSource(refreshController)

        }
        
        refineLabel.snp_makeConstraints { (make) -> Void in
            make.leading.equalTo(contentView).offset(20)
            make.top.equalTo(contentView).offset(10)
            make.height.equalTo(20)
        }
        
        headerButtonHolderView.snp_makeConstraints { (make) -> Void in
            make.leading.equalTo(refineLabel.snp_trailing)
            make.trailing.equalTo(contentView)
            make.height.equalTo(40)
            make.top.equalTo(contentView)
        }
        
        var buttonTitle = NSAttributedString.joinInNaturalLayout(
