support optional collablable navbar