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

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

        view.backgroundColor = self.environment.styles.standardBackgroundColor()
        
        view.addSubview(contentView)
        contentView.addSubview(refineLabel)
        contentView.addSubview(headerButtonHolderView)

        headerButtonHolderView.addSubview(filterButton)
        headerButtonHolderView.addSubview(sortButton)
