Building the nav control.