added minimum scale to viewport