     Meteor.call 'unfavoriteStory', @_id, (err) ->
       if err
         alert err
+

    path.pop()
    path.pop()
    # window.history.pushState({}, '', path.join("/"))
Template.story.events =
  "click .link": (d) ->
    srcE = if d.srcElement then d.srcElement else d.target



  "keydown": (d) ->
    if Session.get("read")
      if d.keyCode is 38  # up
        goToY(Session.get("currentY") - 1)
      else if d.keyCode is 40  # down
        goToY(Session.get("currentY") + 1)
      else if d.keyCode is 39 # right
        return
      else if d.keyCode is 37 # right
        return

Template.story.helpers
  horizontalExists: ->
