animation timing corrected