added scoreboard and button functionality to endgame screen