Development on automatic slideshow