clarified carousel plugin functions