prevent onSlide callback when updating