     }
     
     func InitCollectionView() {
+        collectionView.removeFromSuperview()
+        refresh_controll = UIRefreshControl()
+        
         let w = 150.0 as CGFloat
         let h = w*1.5 as CGFloat
         let margin = (self.view.frame.width - w*2) / 4

        
        DispatchQueue(label: "get-movies").async {
            Alamofire.request(urlString, method: .get).responseJSON { (response) in
                
                NVActivityIndicatorPresenter.sharedInstance.stopAnimating()
                
                guard let res = response.result.value else{return}

    let cellId = "itemCell"
    var preViewName = "Social"
    var collectionView = UICollectionView(frame: CGRect(), collectionViewLayout: UICollectionViewLayout())
    var refresh_controll = UIRefreshControl()
    var movies: [MovieRecentlly.Data] = []
    
    override func viewDidLoad() {
