zoom based on property change

the zoom in and out is now based on property change