   _zoomTo: (e) ->
     @viewer.viewport.zoomTo parseFloat(e.currentTarget.value)
 
+  escape: (e) =>
+    return unless e.which is 27
+    @return()
+
   # Close by just returning to the base artwork route
   # The router will call #remove on this view
   return: ->

    Transition.fade @$el,
      duration: 500
      out: =>
        DeepZoomView.__super__.remove.apply(this, arguments)


    @zoomTo           = _.throttle @_zoomTo, 50
    @detectActivity   = _.throttle @_detectActivity, 500

    (@$window = $(window)).on 'keyup', @escape

  _detectActivity: (e) ->
    @$el.attr 'data-focus', 'active'
