fixed buggy border and text alignment in navbar