swipe gallery improvements

- use history api if available
- better place elements to avoid unwanted translations
border-box for mobile menu selects

content-box caused extra space and forced extra horizontal space, leading to unwanted horizontal scroll
Merge branch 'master' into prod