centers tabs in nav bar, adds max of 5 buttons

test in IE9 before merging, but lgtm contingent on that