got rid of 'undefined' at top of thumbnails