set height of card