 // MARK: GestureControlDelegate
 
 extension PaperOnboarding: GestureControlDelegate {
-
+  
   func gestureControlDidSwipe(direction: UISwipeGestureRecognizerDirection) {
     switch direction {
     case UISwipeGestureRecognizerDirection.Right:

      contentView?.currentItem(index, animated: animated)
      CATransaction.commit()
    }

  }
}
// MARK: create

extension PaperOnboarding {

  private func commonInit() {
    if case let dataSource as PaperOnboardingDataSource = self.dataSource {
      itemsCount = dataSource.onboardingItemsCount()
    }

    itemsInfo = createItemsInfo()
    translatesAutoresizingMaskIntoConstraints = false
    fillAnimationView = FillAnimationView.animavtionViewOnView(self, color: bakcgroundColor(currentIndex))

  func onboardingConfigurationItem(item: OnboardingContentViewItem, index: Int) {
    delegate?.onboardingConfigurationItem(item, index: index)
  }
  
}
