fixing pinch and zoom