changes heading text to show page hierarchy