Fix for #80: New option 'containment'.

Constrains dragging to within the bounds of the specified element or
region.
Merge pull request #81 from pablograna/master

Fix for #80: New option 'containment'.