logic change on thumbnail display