Set the controller for each sub view controller