Fix rangeStart and rangeEnd when in centerMode

Uses half the count of slidesToShow to find the start and end.