DragView makes an element scrollable and scaleable with touch/mouse gestures within it's parent container, ensuring that it will remain bounded by it's containers edges.
npm install --save drag-view
var DragView = require('drag-view')
var el = document.getElementById('view')
new DragView(el, { scaleable: true })
Start webpack dev server serving the example code in http://localhost:8080 with
npm start