fixed so that thumbs are built by adding pictures to slides array