refactored drag and drop, now works like visual studio docking.
fixed tiny bug with drag and drop when there is only one panel.