BUG: The last slide is missed if number of slides is odd