add title positioning to headerbar and navbar