Add responsive switch and nth-of-type to l-grid layout