style changes and making thumbnails work