requestAnimation frame to controller