Carousel: Fix issue with multiple galleries on one page

https://github.com/Automattic/jetpack/pull/429 refreshed