Modify append/prepend slides.