The solutions I saw for this didn’t work so thought I’d post what did which is also a bit simpler.
Add an anchor tag at top
Append a hash tag to the back and next link php
<div class="ngg-imagebrowser" id="<?php echo $image->anchor ?>">
<a class="ngg-browser-prev" id="ngg-prev-<?php echo $image->previous_pid ?>" href="<?php echo $image->previous_image_link ?>#pictop">
The anchor can be anything and works because the url changes to the new picture id.