Try not add/remove event listener dynamically, I think in this case, we can add event listener at initialization time, and never remove listener since if the section is hidden, the user can't trigger a click event on it.