optimizing card sizes and position in progress