 							adjustBuffer rid, newItems, ->
 								pending.shift()
 								if pending.length == 0
-									isLoading = false
 									loading(false)
 								else
 									fetch(rid)

							viewport.unbind 'resize', resizeAndScrollHandler
							viewport.unbind 'scroll', resizeAndScrollHandler
							viewport.unbind 'mousewheel', wheelHandler

						applyUpdate = (wrapper, newItems) ->
							inserted = []

							topVisibleScope(item.scope) if topVisibleScope
							datasource.topVisible(item) if datasource.topVisible

						loading = (value) ->
							adapter.isLoading = value
							isLoadingAttr = value if $attr.isLoading
							datasource.loading(value) if typeof datasource.loading is 'function'

						ridActual = 0
						first = 1
