remove annoying window resizing functionality when switching windows