click on thumnail to view