click on a thumbnail to view that category