Changes from https://github.com/Persgroep/PhotoSwipe/pull/40 & others

- Changes from https://github.com/Persgroep/PhotoSwipe/pull/40
- Fixes in release.sh script