click on a thumbnail to expand it