added code to remove old cards when rings are resized