cards are moved into one, two or three columns depending on the screen width