refs #13303, allow FloatingPane to preserve position on window resize, some clean-up to code and test page