Steps to reproduce
- Go to https://test.wikipedia.org/wiki/Ji%C5%99%C3%AD_z_Pod%C4%9Bbrad or https://cs.wikipedia.org/wiki/Ji%C5%99%C3%AD_z_Pod%C4%9Bbrad
- Scroll down and open an image with mediaviewer enabled
- Close mediaviewer (reproduced only with esc pressed, but that might be just a coincidence)
- If browser didn't scroll up, try again
reproduced in 1.34.0-wmf.15 (cs.wiki) and 1.34-0.wmf.16 (testwiki) with Google Chrome 75.0.3770.142.
see https://martin.urbanec.cz/files/screencasts/T229484.webm for screencast