                                       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)
             }
         }
     }

            self.animated = animated
        }
    }

    @available(iOS 13.0, *)
    public extension PageView {
        func didScroll(_ didScrollCallback: @escaping DidScrollCallback) -> Self {
            var this = self
            this.didScrollCallback = didScrollCallback
            return this
        }

        func willScroll(_ willScrollCallback: @escaping WillScrollCallback) -> Self {
            var this = self
            this.willScrollCallback = willScrollCallback
            return this
        }

        func didSelect(_ didSelectCallback: @escaping DidSelectCallback) -> Self {
            var this = self
            this.didSelectCallback = didSelectCallback
            return this
        }
    }

#endif

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

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