tic tac toe header refreshes page