adjusted layout of cards