use replaceWith() to replace whole element instead of just children

so we get new attributes and stuff on the element too
moved tab-nav to navbar