added main tab and fast switching between main tab and the game