small bug in scroll pausing