         when "slideUp" then @slideUp()
         when "slideDown" then @slideDown()
 
-  slideTransition: (speed, back) ->
+  slideTransition: (speed) ->
 
     unless @targetPanel
       throw new Error "Need to set current div and target div in Slide in flight.slideTranstion"

    else
      @currentPanel.style.left = "0%"

  goToPage: (targetPanel) ->

    @targetPanel = document.querySelector(targetPanel)
    transtionType = @currentPanel.getAttribute("data-transition")

    if speed
      @speed = speed

    if @isTransitioning is true then return else @isTransitioning = true

    @targetPanel.style.display = "block"
    @currentPanel.style.display = "block"

    if @back is true

      # must perform this initial tranform to get animation working in the next step
      @targetPanel.style.webkitTransition = "0ms"
