I changed this to be similar to the movie part of the carousel code