Steps to replicate the issue (include links if applicable):
- On mobile commons wmf.23 go to Special:MediaSearch (default Image tab) and enter any search term(s), e.g. test (The issue is reproducible in a browser emulator and on real devices for any search term.)
- Click on the first image to display it in the QuickView
- Click on the right navigation arrow to go to the next image - it's displayed correctly.
- Keep clicking on the right navigation arrow - the fifth image (or, sometime, the fourth) will scroll up out of the viewport.
(click on the animated gif below)