moved window tiling/cascading code to DraggablePanel