added wave score and reset on resize