styling and js for work page thumbnails