Converted carousel from jQuery function to jQuery UI plugin.