Changing preview functionality to show thumb not the big image