User addEventListener instead of setAttribute for image overlays
Minor CSS update