 
     if !docker.listening_to_scroll_events
       
-      $(window).on "scroll.docker", docker.onScroll
+      $(window).on "scroll.docker", -> docker.user_scrolled = true
       $(window).on "resize.docker", docker.onResize
 
       # If the height of a docked component changes, we need to recalculate

    serializer = new XMLSerializer()

    docker.register @key, => 
      # This callback is invoked each scroll event handled by docker
      # in order to get data about this docked element. 

      # We can't use $el.height() to determine the height of the docking
      # component because there may be absolutely positioned elements
      # inside $el that we need to account for. For example, a Slider.    

# they know how to render. 

# For console output: 
debug = false

docker =

