before add game toggles and proper screen resizing
added global toggles and screen resizing