Reset event listeners after user clicks next page