     }
     public var allowedOrientations: [TransitionOrientation]? {
         didSet {
-           transitionCombinator.allowedOrientations = allowedOrientations
+            transitionCombinator.allowedOrientations = allowedOrientations
         }
     }
+    public var beginTransitionAction: (UniversalTransitionsHandler) -> () = { _ in }
     
     fileprivate let internalAnimator: TransitionAnimator
     fileprivate let internalInteractor: TransitionInteractor


import Foundation

public class UniversalTransitionsHandler: Transitioner {
    fileprivate typealias TransitionerTuple = (transitioner: Transitioner, view: UIView?)
    
    public var animator: TransitionAnimator {

    fileprivate func createTransitioners(for scrollView: UIScrollView) -> [Transitioner] {
        let scrollViewGestureHandler = ScrollableGestureHandler(scrollable: scrollView)
        let scrollViewTransitioner = DefaultInteractiveTransitioner(with: scrollViewGestureHandler,
                                                                    with: internalAnimator,
                                                                    with: internalInteractor)
        scrollView.panGestureRecognizer.set { gesture in
            scrollViewGestureHandler.handlePanGesture(gesture)
        }
