added handleSlide methods