Fully implement set window size, plus a function to restore the originally observed size.