fixes some styling issues with nav pills