Panel: no longer jump up on resize

should not scroll to top in just resize window

Fixes #7572