Update to image gallery for style and fixes for JS bits and bobs.