Move spinner logic out of module and fix flexslider/colorbox support