Added auto scale threshold into performAutoScale

Don't zoom back in until the data shrinks to below the auto scale threshold.