Change FactSelector display behavior with smart bootstrap lists

Will try to fit cubes & mesures as bootstrap buttons list on the top of the page.
If it doesn't fit, will compress cubes in a dropdown menu & measures as a list.
If it still doesn't fill, will compress both in dropdowns.