Fix gallery swipe

This fixes gallery layout bugs and associated JS issues.

- move gallery markup into new ```article-inner``` element
- fix swipe issues
- fix initial browser popstate vent causing null gallery advances

Remember: The team is your conscious run the tests :wink: 

![Bug slayer](http://i.imgur.com/erYLM.gif)