created an auto zoom based on percentage of progress