[refs #2] updating CSS and tpls for gallery