             self.videoTable.reloadData()
             ChannelModel.sharedInstance.moveVideoByIndex(sourceIndexPath.row, destinationIndex: destinationIndexPath.row)
         })
-    }
-    
-    func initVideoTable() {
-        videoTable.dataSource = self
-        videoTable.delegate = self
-        videoTable.longPressReorderDelegate = self
     }
     
     func initVideoCell(indexPath: NSIndexPath) -> VideoTableViewCell {

    let channelKey = "queue"
    let detailSegueKey = "showVideoDetail"
    var selectedIndex: Int?
    
    lazy private var loadingView:LoadingView = self.createLoadingView()
    

    
    override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {
        if (keyPath == channelKey) {
        }
    }
    
    func initVideoTable() {
        videoTable.dataSource = self
        videoTable.delegate = self
        videoTable.longPressReorderDelegate = self
    }
    
    func initRefreshControl() {
        refreshControl.addTarget(self, action: "refresh:", forControlEvents: UIControlEvents.ValueChanged)
        videoTable?.addSubview(refreshControl)
    }
    
    func refresh(sender:AnyObject)
    {
        print("refreshing")
        if self.refreshControl.refreshing
        {
            self.refreshControl.endRefreshing()
            print("refreshed")
        }
    }
    
