fixed the photoswipe