Fix bug with gallery count with swipe
Merge pull request #1256 from guardian/swipe-gallery-fix

Fix bug with gallery count with swipe