accommodate changes to slides