0👍
The provided example might not be reliable for a demo. As for the problem itself, the zoom-plugin has a drag/pan option that can be used to mode data around after it gets pushed out of view.
zoom: {
enabled: true, // Boolean to enable zooming
drag: true // Enable drag-to-zoom behavior
}
Source:stackexchange.com