add proportionally resizing for the progress view