Implemented getCurrentSlide method