improve style and add navigation bar
add function to animate nav bar