control draggings over web platforms (jQuery plugin)