Add a hover effect to thumbnail images.