navbar working properly