add frames for game canvas