     
     @IBAction func okBtnAction(_ sender: Any) {
         delegate?.getAssets(assets: PhotoManager.sharedInstance.assets)
-        dismiss()
+        dismiss(animated: false)
     }
 }
 

//  IBAction
private extension CSPhotoGalleryDetailViewController {
    @IBAction func backBtnAction(_ sender: Any) {
        dismiss()
    }
    
    @IBAction func checkBtnAction(_ sender: Any) {


//  MARK:- Extension
fileprivate extension CSPhotoGalleryDetailViewController {
    func dismiss(animated: Bool) {
        let parentVC = presentingViewController as? CSPhotoGalleryViewController
        parentVC?.scrollRectToVisible(indexPath: currentIndexPath)
        
