Tab controller to select table or collection view