fix bug that window.resize listener was not unbinded while disable the onepage-scroll