     if isThumbing
       addClass slider, choco_animated
       max = @storage.length() - 1 if max is -1
-      s = getOffset slider
-      s = touchShift t, (s / env.w)
-      @select squeeze s, 0, max
+      sliderOffset = getOffset slider
+      sliderOffset = touchShift t, (sliderOffset / env.w)
+      @select squeeze sliderOffset, 0, max
     if isClosing
       addClass overlay, choco_animated
       if opacity < 0.7

  addEvent slider, 'webkitTransitionEnd', ->
    removeClass slider, choco_animated
    return


  addEvent overlay, 'transitionend', ->
    finish()

    return unless t

    t.dx = (t.x - finger.x) || 0
    finger.x = t.x
    finger.y = t.y

    sliderOffset = getOffset slider

    dx = Math.abs(finger.x0 - t.x)
    dy = Math.abs(finger.y0 - t.y)
    isThumbing = dx > dy
    isClosing = not isThumbing

    if isThumbing
      transparent 1
      translate slider, sliderOffset + t.dx
    else
      transparent Math.round((1 - dy / env.h) * 100) / 100
    stop event
    return

  end = (event) =>
    t = captureFinger getTouch event.changedTouches, finger.id
