                                       willScrollToItem pagingItem: PagingItem,
                                       startingViewController _: UIViewController,
                                       destinationViewController _: UIViewController) {
-                parent.willScrollCallback?(pagingItem)
+                parent.onWillScroll?(pagingItem)
             }
 
             func pagingViewController(_: PagingViewController, didSelectItem pagingItem: PagingItem) {
-                parent.didSelectCallback?(pagingItem)
+                parent.onDidSelect?(pagingItem)
             }
         }
     }

                                      startingViewController _: UIViewController?,
                                      destinationViewController _: UIViewController,
                                      transitionSuccessful _: Bool) {
                parent.didScrollCallback?(pagingItem)

                DispatchQueue.main.async {
                    self.parent.scrollToPosition = nil

            self.animated = animated
        }
    }
#endif
