fix setInterval not starting again when next/prev on last/first slides