fixed wrong scrolling when autoplay is on