reset prior to photoswipe implementation