Fix an issue with animating slides with negative margins