refactored carousel into partial