         }
 
         delegate?.willMoveToMenuPage?(currentPage)
+        menuView.moveToMenu(page: currentPage, animated: true)
         currentViewController = pagingViewControllers[currentPage]
         contentScrollView.contentOffset.x = currentViewController.view!.frame.minX
 

        }
        
        // consider left edge menu as center position
        guard currentPage != 0 || contentScrollView.contentSize.width >= (pageWidth * CGFloat(visiblePagingViewNumber)) else { return PagingViewPosition(order: order + 1) }
        return PagingViewPosition(order: order)
    }
    
    private func targetPage(tappedPage tappedPage: Int) -> Int {

    
    // MARK: - UISCrollViewDelegate
    
    public func scrollViewDidEndDecelerating(scrollView: UIScrollView) {
        guard scrollView.isEqual(contentScrollView) else { return }

        let position = currentPagingViewPosition()
        
        // set new page number according to current moving direction
        switch position {
        case .Left: currentPage = previousIndex
