added dynamic animation to index