updateActiveSlide bug fix

the bug fix that updateActiveSlide method is not executed when newposition placed on the right of maxWrapperPosition.