add function to return to current game page