adds getCurrentSlide and currentSlide properties to carousel class