More changes to carousel functions.