Fix issue #19, carousel transition bug. Thanks to @SixSatori for reporting and solution.