     if @transitionAnimation isnt true
       @displayPage()
 
-
+  # performs slide animation transition
   slideTransition: (speed) ->
     unless @targetPanel
       throw new Error "Need to set current div and target div in Slide in flight.slideTranstion"

    else
      throw new Error "#flight or .content not found."

  detectUA: ->
    userAgent = window.navigator.userAgent
    @os.webkit = (if userAgent.match(/WebKit\/([\d.]+)/) then true else false)

      if options.targetPanel?
        @targetPanel = options.targetPanel
        @pageHistory.push(@targetPanel)
        # target panel passed from options
        @targetPanel = document.querySelector(options.targetPanel)
        transitionType = @targetPanel.getAttribute("data-transition")
      else
