   var maxDelay: CGFloat = 0
   var scrollableView: UIView?
   var lastContentOffset = CGFloat(0.0)
+  var sprocketFactor: CGFloat = 1
 
   /**
    Start scrolling

    maxDelay = CGFloat(delay)
    delayDistance = CGFloat(delay)
    scrollingEnabled = true
  }

  /**

  }

  private func scrollWithDelta(_ delta: CGFloat) {
    var scrollDelta = delta / sprocketFactor
    let frame = navigationBar.frame

    // View scrolling up, hide the navbar
