       left: left + "px"
       top: top + "px"
 
+  _updatePositionRegularly: ->
+    $(window).on 'resize', @_updatePosition
+    @_interval = setInterval @_updatePosition, 1000
+    @_updatePosition()
+
+  _updatePosition: =>
+
   hide: =>
     @frame.fadeOut()
     @_visible = false

      return el if window.getComputedStyle(el).display == 'block'
    console.error 'FactlinkJailRoot: No text container found for ', el

  _updatePosition: ->
    top = @$nearEl.offset().top + @$nearEl.outerHeight()/2 - @frame.$el.outerHeight()/2

    textContainer = @_textContainer(@$nearEl[0])


    @$nearEl = $(options.el)
    @_fadeIn()
    @_updatePositionRegularly()

    # remove when removing client_buttons feature toggle
    unless FactlinkJailRoot.can_haz.client_buttons
