finally fixed the navbar