Move wizard navbar code to separate file