Reordered view hierarchy so that the navigation bar is on top.