bootstrapify common tabs and make show aside/tabs buttons only appear if there is something to show