solved the overflow problem with nav bar