How to transfer the T- or N-panel to the opposite side

To transfer the T- or N-panel to the opposite window side point a mouse cursor to it and press the f5 shortkey.