changed setup of view controllers and constraints and what not

no idea if this is what you are looking for but I tried to copy your basic setup and add the proper constraints. seems to be working but, again, not really sure what your goal is.