add animation to index header