docklayout reverse -> major design change

not complete, check old calculator technique