Don't advance when swiping on first or last slide.