Use autolayout to pin the navigation bar and tab bar to the top and
sides of the screens