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.