reformats bar index table and adds panels to bar show page
makes bar name in bar index a link to show page