added margin to slides