Add first and last slide.