       @setListView listView = new KDListView viewOptions
 
     if options.scrollView
-      @scrollView = new KDScrollView
+      @customScrollView = new KDCustomScrollView
         lazyLoadThreshold : options.lazyLoadThreshold
         ownScrollBars     : options.ownScrollBars
+      @scrollView = @customScrollView.wrapper
 
     options.view = if options.wrapper
     then new KDView cssClass : "listview-wrapper"

KDView           = require './../../core/view.coffee'
KDViewController = require './../../core/viewcontroller.coffee'
KDScrollView     = require './../scrollview/scrollview.coffee'
KDListView       = require './../list/listview.coffee'
KDLoaderView     = require './../loader/loaderview.coffee'

module.exports = class KDListViewController extends KDViewController


    if options.keyNav
      listView.on 'KeyDownOnList', (event)=> @keyDownPerformed listView, event

  loadView: (mainView) ->

    { scrollView
      startWithLazyLoader
      noItemFoundWidget
    } = @getOptions()

    {windowController} = KD.singletons

    if scrollView
      mainView.addSubView @customScrollView
      @scrollView.addSubView @getListView()
      @showLazyLoader no  if startWithLazyLoader

      @scrollView.on 'LazyLoadThresholdReached', @bound "showLazyLoader"

    @putNoItemView()  if noItemFoundWidget

    @instantiateListItems @getData()?.items or []

    windowController.on "ReceivedMouseUpElsewhere", @bound 'mouseUpHappened'



  instantiateListItems:(items)->
    newItems = for itemData in items
