changed the navigation bar style, and effect when clicked