Merge https://github.com/Persgroep/PhotoSwipe/pull/46