adds data-active attribute to thumb div