convert carousel to plugin

not working