fix slider on non-autoplay mode