Made navigation bar optional