         nextView.$el.css zIndex: @stack.length - 1
 
         @slide =
-          startX: _e.pageX - offset.left
+          startX: _e.pageX - @offset.left
           startY: _e.pageY
-          offset: offset
           prev: prevView
           next: nextView
 

      _e = if isTouch then e.touches[0] else e

      if not @hasSlid
        if Math.abs(_e.pageX - @slide.offset.left - @slide.startX) > 10
          @hasSlid = true
          @slide.prev.undelegateEvents()
          @slide.next.undelegateEvents()


      _e = if isTouch then e.touches[0] else e

      @offset ?= @$el.offset()

      @hasSlid = false
      @transform = @slideTransform

        prevView = @stack[@stack.length - 1]
        index = prevView.stack?.indexOf(prevView) - 1

        if index >= 0
          nextView = @views[prev.stack[index]]
      if _e.pageX - @offset.left < 40
        else
          nextView = @stack[@stack.length - 2]

