improvments to collapse_bar and a simple mvc example