finish the index animation