add animation and fix navbar