Dynamic caption plugin for PhotoSwipe v5