fixing card display on mobile (sort of)