smart navbar