     
     func configureTopInteractiveRouter() {
         let topRecognizer = UIPanGestureRecognizer()
-        topInteractiveRouter
+        interactiveRouter = TransitionRouter(type: .top, interactive: true)
+        interactiveRouter
             .add(topRecognizer)
             .transition { [unowned self] router in
                 let vc = ColorViewController(color: .yellow)

    func configureLeftInteractiveRouter() {
        let leftRecognizer = UIScreenEdgePanGestureRecognizer()
        leftRecognizer.edges = .left
        leftInteractiveRouter
            .add(leftRecognizer)
            .transition { [unowned self] router in
                let vc = ColorViewController(color: .green)

        rightButton.addTarget(self, action: #selector(rightAction), for: .touchUpInside)
        view.addSubview(rightButton)
        
        //        Uncomment one of configuration for testing
        //        configureTopInteractiveRouter()
        //        configureLeftInteractiveRouter()
        //        configureBottomInteractiveRouter()
        configureRightInteractiveRouter()
    }
    
