add index to slides