Issue: slides blinking when going to next slide

Fix for https://github.com/revolunet/angular-carousel/issues/278
and for https://github.com/revolunet/angular-carousel/issues/280