fix drag/swipe issue when slides count less 4