Added an implementation of photo swipe js