flexible class added to images, hover effect added to linked images