Panel: Do not scroll to top upon updatelayout

Fixes gh-6688
Re gh-5535