update viewport zoom