           }
         }
     }
-    
   }
 }
 

    super.viewWillAppear(animated)
    
    if !reloaded {
      guard let firstAsset = fetchResult.firstObject else {
        if ATHImagePickerAssetsViewController.basicPhoto == nil {
          let bundle = Bundle(for: self.classForCoder)
          ATHImagePickerAssetsViewController.basicPhoto = UIImage(named: "basicPhoto", in: bundle, compatibleWith: nil)

  }
  
  public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
    let reversedIndex = fetchResult.count - indexPath.item - 1
    
    guard indexPath.item < fetchResult.count else {
      return
    }
    
    let asset = fetchResult[fetchResult.count - indexPath.item - 1]
    
    cachingImageManager.requestImage(
      for: asset,
      targetSize: UIScreen.main.bounds.size,
      contentMode: .aspectFill,
      options: fetchingOptions) { result, info in
        if info!["PHImageFileURLKey"] != nil  {
          if let previewController = self.holder.previewController, previewController.state == .folded {
            let floatingView = self.holder.floatingView
