use the timestamp parameter of requestAnimationFrame

instead of new Date() - results in smoother and faster games