Working zoom behavior for the tempgraph