add media query for hover events on images