     
    # displays pages when transiton is false, back animations do not matter here.
    displayPage: =>
-    @targetPage.style.display = "block"
-    @currentPage.style.display = "block"
+    @targetPage.style.display = "-webkit-box"
+    @currentPage.style.display = "-webkit-box"
     @targetPage.style.left = "0%"
     @currentPage.style.left = "100%"
     @isTransitioning = false

       
     else
       #do forward transition
       @targetPage.style.display = "block"
       @translate(@targetPage, "Y", "100%","0ms")
                      
       window.setTimeout =>

                  
  # performs slide animation transition
  slideTransition: () ->
    @targetPage.style.display = "-webkit-box"      

    if @back is true
      # must perform this initial tranform to get animation working in the next step
