Fix: scroll-length to be over a range when window is resized.