refactored slideshow into a field