add class field to slides