       let color = isTopTitle ? config.activeButtonColor : config.inactiveButtonsColor
       button.setTitleColor(color, for: .normal)
       button.setTitle(title, for: .normal)
-      
+      button.titleLabel?.font = config.buttonsFont
       button.layer.anchorPoint = CGPoint(x: 0, y: 0)
       button.transform = scaledTransform
       

}

// MARK: - Animations
private typealias AniLayer = (layer: CALayer, animation: CAAnimation)

private enum AnimationValue {
  case bounds(CGRect)

      newCellSnapshotView.frame = CGRect(x: 0, y: imageViewOriginY, width: cellFrame.width, height: cellFrame.height)
      newCellWrapperView.clipsToBounds = true
      newCellWrapperView.frame = CGRect(x: minX, y: wrapperViewOriginY, width: 0, height: 0)
      
      newCellWrapperView.tag = AnimationItem.newCellWrapper.tag
      newCellSnapshotView.tag = AnimationItem.newCell.tag
    }
    
    // MARK: Snapshot of right side of collectionView
    if let path = paths[safe: 1], let cell = collectionView.cellForItem(at: path) {
      UIGraphicsBeginImageContextWithOptions(cell.bounds.size, true, 0)
      if let context = UIGraphicsGetCurrentContext() {
        cell.layer.render(in: context)
      }
      newRightSideSnapshotView.image = UIGraphicsGetImageFromCurrentImageContext()
      UIGraphicsEndImageContext()
      addSubview(newRightSideSnapshotView)
      newRightSideSnapshotView.frame = CGRect(x: bounds.maxX, y: cellFrame.minY, width: cell.bounds.width, height: cell.bounds.height)
      newRightSideSnapshotView.tag = AnimationItem.newRightSide.tag
    }
    
    collectionView.visibleCells.forEach { $0.alpha = 0 }
