Change preference pane views. Attempt to resize window to fit pane's view.

Currently the resizing code does not work repeatedly. The views move up/down within the window. The window resizes correctly though.