Make navigation bar as separate layout.