use request animation frame when updating clips