adding content-grid class for vertical hover states