fixed slideTo bug