added removeSlide method