requestanimationframe shim
more browser compat