Fix new window opening when tab clicked. #59
When a tab is dragged from a very few pixels (about 6 pixels), the drop event is not fired and a new window is created like a drop outside the sidebar.
So the distance of the drag must be calculated to ensure that the minimum before the emission of the drop event is covered.
The minimal distance is set at 7 pixels.