 
         frame = @$("##{slug}-frame")
         onLoad = =>
+
+            # We display back the iframes
+            @frames.css 'top', '0'
+            @frames.css 'left', '0'
+            @frames.css 'position', 'inherit'
             @frames.show()
+
             @content.hide()
             @backButton.show()
 

            app?.routers.main.navigate "/apps/#{slug}/#{newhash}", false

            # Ugly trick required because some app state changes requires
            # to redraw the iframe
            @resetLayoutSizes()

    ### Configuration ###

    # Small trick to size properly iframe.
    resetLayoutSizes: =>
        @frames.height $(window).height() - 36

        if $(window).width() > 640
            @content.height $(window).height() - 36
        else
            @content.height 100
            @content.height $(window).height()

        # Ugly trick to for redrawing of iframes.
        @frames.find('iframe').height "99%"
        setTimeout =>

                name = background.replace '-', '_'
                val = "url('/img/backgrounds/#{name}.jpg')"
            else
                val = "url('/api/backgrounds/#{background}>A/picture.jpg')"

            @content.css 'background-image', val

