Making use of requestAnimationFrame instead of a scheduled activity in the scheduler