     
    # 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 =>

    
    if not @currentPage
      # No current panel set, app just started, make start panel visible
      @targetPage.style.display = "-webkit-box"
      @pageHistory = [window.location.hash]
      @currentPage = @targetPage
      return    
