added throttling to animation