adding the zoom function