animation fixed for timeIndex