reset scroll to 0 and detect both top and bottom waffling