What OS is this? There is usually some keyboard shortcut you can use to drag windows around with the mouse by clicking in them anywhere. In any case you can reset those preferences by going to Preferences->Miscellaneous->Open config directory in the main calibre preferences and deleting the file viewer.json
|