fix of not counting workareas correctly in a workarea

--when windows were more than 6 the windows number wasnt
increasing
Improved the Dragging Interface structure

--the dragging interface structure has been improved in
order to be easily used