base: update navbar so each button will go into an active state on the correct page