change the css, and add effect on navigation bar when select