use requestAnimationFrame() for thumbnail redraws