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

        collectionView.delegate = self
        collectionView.dataSource = self
        collectionView.autoresizingMask = UIViewAutoresizing(rawValue: UIViewAutoresizing.RawValue(UInt8(UIViewAutoresizing.flexibleHeight.rawValue) | UInt8(UIViewAutoresizing.flexibleWidth.rawValue)))
        self.view.addSubview(collectionView)
    }
    
    func CallGetRecentlyAPI() {

    }
    
    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
