updated api functionality for getting and settting current slide