         view.layoutIfNeeded()
     }
     
+    // MARK: - Cleanup
+    
+    private func cleanup() {
+        if let menuView = self.menuView, let contentScrollView = self.contentScrollView {
+            menuView.removeFromSuperview()
+            contentScrollView.removeFromSuperview()
+        }
+        currentPage = 0
+    }
+    
     // MARK: - Gesture handler
     
     private func addSwipeGestureHandlersIfNeeded() {

        validateDefaultPage()
        validateRoundRectScaleIfNeeded()
        
        constructMenuView()
        constructContentScrollView()
        layoutMenuView()

        
        currentPage = self.options.defaultPage
        currentViewController = pagingViewControllers[self.options.defaultPage]
        
        view.setNeedsLayout()
        view.layoutIfNeeded()
    }
    
    // MARK: - UISCrollViewDelegate
