Click to open/close thumbnails