fix slideindex on auto play on touch device and swipe enabled