Corrected carousel offset calculation.

Corrects erroneous behavior found in https://github.com/malsup/cycle2/issues/70 where slides lose their offset when wrapping from first to last or last to first.