added width constraints to the navbar