nav bar refact