fix the carousel width display issue