change maingame layout