   
   initialize: (options) ->
     
-    template = $('#panel-2-template')
+    template = $('#panel-2')
     # check to see if template has already been rendered
-    if not template.length <1      
-      compiledTemplate = _.template( $('#panel-2-template').html(), {header:"panel 2"}  )
-      @$el.html( compiledTemplate ) 
+    compiledTemplate = _.template( $('#panel-2').html() )
+    @$el.html( compiledTemplate ) 
                
   render: (id) =>  
-    # use flight for page load.
-    flight.goToPage({targetPanel:'#panel-' + id})
     
     $('.back').on 'click', ->
       window.history.back()


  initialize: (options) ->
    
    template = $('#panel-3-template')
    # check to see if template has already been rendered
    if not template.length <1      
      compiledTemplate = _.template( $('#panel-3-template').html(), {header:"panel 3"}  )
      @$el.html( compiledTemplate )

  render: (id) ->     
    # use flight for page load.
    flight.goToPage({targetPanel:'#panel-' + id})
    
    $('.back').on 'click', ->
      window.history.back()

  el: $('#panel-1')

  initialize: (options) ->
    
    
  render: () ->
    
    this

@app = window.app ? {}
