limits the drag to a containing element
drag.limit(container, center) -> undefined
{jQuery}
{optional:Object}
can set the limit to the center of the object. Can be 'x', 'y' or 'both'
limits the drag to a containing element