       url = @driver.getCurrentSlideScreenshot()
       console.log url
 
-    previous: () ->
+    previous: (cb) ->
       #@driver.jump(@driver.currentSlide() - 1a
       @driver.previous()
-      this.trigger('transitionSLide', {url: this.getCurrentSlide()})
-    next: () ->
+      cb({url: @driver.getCurrentSlideScreenshot()})
+      #this.trigger('transitionSLide', {url: this.getCurrentSlide()})
+    next: (cb) ->
       #@driver.jump(@driver.currentSlide() + 1)
       @driver.next()
+      cb({url: @driver.getCurrentSlideScreenshot()})
     jump: (num) ->
       @driver.jump(num)
 

      connection.set('bc', bc)
      remote = @remote = new Remote code.url
      baseFirebaseUrl = "https://qcommander.firebaseio-demo.com/#{@connection.get('token')}/"
      #remote.bind 'transitionSlide', (e) ->  
        #info = new Firebase("https://qcommander.firebaseio-demo.com/#{connection.get('token')}/info")
        #info.child('currentSlideUrl').set e.url

      # Push slide info
      slideInfo = new Firebase "#{baseFirebaseUrl}info/"
      slideInfo.set code

      this.genUUID()
      
    showConnectionBoard: (uuid) ->
      that = this
      code =
        token: uuid 
        url: window.location.href
