fix a issue. reset game will not change to the history tab
change the popup to show a div