make carousel a component of theme.