   get_pages: (tpl = 'page') ->
     html = ''
     $.each @options.pages, (idx,el) => 
+      el['classes'] = 'first-child' if idx == 0
       html += Mustache.to_html @tpl(tpl), el
     html
 

    link

  modal_open: (data) ->
    data = @modal_data(data) unless typeof data == 'object'
    @modal_active = true
    if data.document == 'true'
      html = Mustache.to_html(@tpl('pdf'),{ filename: data.uid })

      </div></div>
    </div>'
    handle: '<a href="#" id="{{ id }}-handle" class="handle">{{ title }}</a>'
    tab: '<a href="#" data-role="{{ id }}" class="tab {{ classes }}">{{ title }}</a>'
    page: '
    <div id="{{ id }}" class="page">
      <ul></ul>
