Fix the Swipe "continuous" option if there are exactly two slides (see #6812)