So what is you problem? I thought that you where surprised by this tabs.
What do you mean by "then nested window is displayed at the border and due this sizing/resizing got affected"? What is wrong with it?