so the tabbed navigation works but for some reason the second view is messed up