making 4 thumbnmails per row