Added the carousel functionality to the main panel. Only partially functional.