Fix carousel for development and production enviornment