add frame limiter to animation