Prevent the scroll-to-top button disappear on viewing photos.