graph: Improve zooming