GIA-3133 - Fix gallery layout after rotation in slideshow/enlarged picture (native) view, with debugging code (for reference)
GIA-3133 - Removed debugging code, window log console and logging messages from all the files. NB The collagePlus plugin does have a linting error on a line 53 - Confusing use of ! - however this was pre-existing before any amends
merge master
GIA-3133 - Fixed padding to correct broken gallery display on landscape to portrait rotation between galleries. Debug console and log messages left in for device testing
GIA-3133 - Fix for landscape to portrait and then close lightbox mode gallery layout. Removed debug console and log messages. There does seem to be some edge cases when doing multiple rotations and swipes between galleries where the orientation value itself gets mixed and displays in previous mode for example landscape may show portrait layout of images and sometimes Portrait does not layout correctly but its very hard to pin down and replicate. 99% of time its ok.
Merge pull request #287 from guardian/GIA-3133

Gia 3133