html5 tetris with grid that responds to viewport size