fix bug when reaching last position while reorganizing a slideshow #2