         $(selector).append(li)
       ref.load_img(li.find('a'), el.sizes.tn)
     @panels(i) unless panels_loaded
+    if @reloading
+      @reloading = false
+      @controls() 
 
   load_results: (response) ->
     @log "load_results()"

        when escape
          @toggle() unless @modal_active
      e.stopPropagation();
      
    $(document).keydown (e) =>
      return unless @keys_enabled
      switch e.keyCode

  set_options: (opts) ->
    @current = 0
    @keys_enabled = true
    @reloading = false
    ref = this
    default_options = 
      debug: true
