add time of step

add time of step if it finished too animation ends