         height: 81
         enabled: true
         distance: 10
-        keyboard_nav: true
         auto: false
         orientation: 'horizontal'
         key_orientation: 'horizontal'


  key_down: ->
    ref = this
    previous = 38
    next = 40
    escape = 27
    $(document).keydown (e) ->
      switch e.keyCode
        when previous
          ref.previous()
        when next
          ref.next()
        when escape
          ref.toggle() unless ref.modal_active

  tpl: (view) ->
    @tpls()[view]

      @log "panels(#{i})"
      el = "##{@options.id} .pages .page:nth-child(#{(i+1)}) ul"
      @options.pages[i]['panel_selector'] = el
      @active_panel = el
      @options.pages[i][''] = $(el).attr('id',"#{@options.pages[i]['id']}-panel")
      
      $(el).amplePanels(@options.pages_options)
        .bind 'slide_horizontal', (e,d,dir) ->
          ref.load(i) if dir == 'next'
