successfully shows a large image when clicking a thumbnail, and reverts to thumbnail when clickig large image