change the style of the nav list