         maxHeight = view.getHeight()
 
     @$("pre.subview").css height:maxHeight
+
+    initiallyPausedObserver = setInterval =>
+      codeBinOffset =@$(".code-bin-source").offset().top
+      scrollViewTop = @parent.parent.parent.$().scrollTop()
+      scrollviewHeight = @parent.parent.parent.$().innerHeight()+scrollViewTop
+
+      if codeBinOffset+scrollViewTop < scrollviewHeight
+        if not @initiallyPaused
+          @initiallyPaused = true
+          @codeBinResultButton.setTitle "Reset Code Share"
+          @codeBinResultView.show()
+          @resultBanner.hide()
+          @codeBinCloseButton.show()
+          @codeBinResultView.emit "CodeBinSourceHasChanges", @getData()
+          clearInterval initiallyPausedObserver
+    ,500
+
 
 
   pistachio:->


    @codeBinContainer.showPane @codeBinResultPane

    setTimeout =>
      @codeBinResultButton.setTitle "Reset Code Share"
      @codeBinResultView.show()
      @resultBanner.hide()
      @codeBinCloseButton.show()
      @codeBinResultView.emit "CodeBinSourceHasChanges", @getData()
      # setTimeout =>
      #   @codeBinResultView.stopResultFrame()
      # , 10000
    , 1000

  render:->
    super()

      cssClass:"clean-gray hidden"
      click:=>
        @codeBinResultView.hide()
        @codeBinResultView.stopResultFrame()
        @codeBinResultView.resetResultFrame()
        @codeBinResultButton.setTitle "Run Code Share"
        @resultBanner.show()
