Fix issue with first slide effect