might need  the actual requestAnymation Frame handler