added thumbnails to index and added styling