change card size to fit the card selector