Keep the same slide in the viewport when removing a slide before the activeIndex.