added inside_pos option to dnd plugin