         {options}   = config
         {splitName} = options
 
-        splitView = @createSplitView options.direction, options.sizes, config.views
+        splitView = @createSplitView
+          type        : options.direction
+          sizes       : options.sizes
+          cssClass    : options.cssClass
+          viewsConfig : config.views
+
         @splitViews[splitName] = splitView  if splitName
         views.push splitView
       else


        views.push wrapper

    splitView = new SplitViewWithOlderSiblings { type, sizes, views }
    @splitViews[@baseSplitName] = splitView  if @baseSplitName
    splitView.on "ResizeDidStop", => @emitResizedEventToPanes()



  init: ->
    @splitViews    = {}

    {direction, sizes, views, cssClass, splitName} = @getOption 'layoutOptions'

    @baseSplitName = splitName
    @addSubView @createSplitView \
      {type: direction, sizes, cssClass, viewsConfig:views}, splitName

  createSplitView: ({type, sizes, viewsConfig, cssClass}, splitName) ->
    views = []

    viewsConfig.forEach (config, index) =>
