Optimize template
Add tooltips to thumbnails