   # unbind the scroll event
   stop: ->
     @stopped = true
-    @util().removeEvent window, 'scroll', @scrollHandler
+    @util().removeEvent @config.scrollContainer || window, 'scroll', @scrollHandler
     @util().removeEvent window, 'resize', @scrollHandler
     clearInterval @interval if @interval?
 

    mobile:       true
    live:         true
    callback:     null

  constructor: (options = {}) ->
    @scrolled = true
    @config   = @util().extend(options, @defaults)
    # Map of elements to animation names:
    @animationNameCache = new WeakMap()
    @wowEvent = @util().createEvent(@config.boxClass)

      else
        @applyStyle(box, true) for box in @boxes
    if !@disabled()
      @util().addEvent @config.scrollContainer || window, 'scroll', @scrollHandler
      @util().addEvent window, 'resize', @scrollHandler
      @interval = setInterval @scrollCallback, 50
    if @config.live
