 
   # slides panel from bottom to top and top to bottom 
   slideFromBottom: () ->
-     @targetPage.style.display = "block"
+     @targetPage.style.display = "-webkit-box"
     
      if @back is true
        # do reverse

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

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