Debug separate for each instance
Removed debug function from minified version
Added thumb active class on change image from non-thumb click