allow use of setInterval for allowing animation if requestAnimationFrame isn't available