click on thumbnail to view