Quick and dirty implementation of photoswipe