Add hierarchy to slides