finished implementing thumbnail grid