added back functionality to slides