Build carousel animation for images