ensure window moves and resizes when screen resizes