Quick fix for gallery scrolling to top on click.