Make navigation bar optional.