click on a thumbnail to view