fix adding multiple prev, next, countSlideNum and currentSlideNum