sets the nvaigationController on the view