     # Perform two transitions synchronously. Get the next view, and get it
     # ready to animate. Remove events from the old view.
     activateCurrentView: (prevView, isPush) ->
-      nextView = @stack.slice(-1)[0]
+      nextView = @stack[@stack.length - 1]
 
       if @preventPush
         nextView.delegateEvents().$el.show()

      @hasSlid = false

      if _e.pageX - offset.left < 40 and @stack.length > 1
        prevView = @stack.slice(-1)[0]
        nextView = @stack.slice(-2, -1)[0]

        @slide =
          startX: _e.pageX - offset.left


      nextView.show?(options)

      prevView = @stack[@stack.length - 1]

      # Assume we're pushing if the new view is already in the stack.
      push = @stack.indexOf(nextView) < 0
