add animation on navigation bar, and change the color