smart navbar done