Fixed bug with animation styles for the first slide