DRY out carousel keyframe definitions