                     ])
                     m('.row',
                         m('.col-xs-12',
-                            m.component(SelectMult, {
+                            m.component(SelectBar, {
+                                categories: args.categories
                                 category: category
                                 subcategories: args.categories[category]
                                 data: args.data


    config: (ctrl, args) ->
        return (element, isInitialized) ->
            el = $(element)
            if not isInitialized
                attrs = {

###
CategorySelection =
    controller: (args) ->
        @clear= () ->
            ## Clears filter of categories
            ## Bug: categories don't disappear in select boxes yet - look into
            ##     select2 documentation for clear under programmatic access :)
            for row in args.data.rows
                row.visible(true)
        return @
    view: (ctrl, args) ->
        m(".col-md-6", [
            m(".gene-category-wrapper", [
                m(".gene-category-intro", [
                    m('span', "Select category to refine list of genes:")
                    m('button', {onclick: ctrl.clear}, "Clear")
                ])
                for category of args.categories
                    [m('.row', [
