add maximum scale to viewport