implemented zoom limit