The first thing to try is to double click the title bar - this should return
it to it's last position.
Or
You can just click on the title bar and drag it to the edge where you want
it (floating or docked) and then resize it once it is where you want it. A
little experimenting and you will have them just like you want them.