add slideshow position and count