rules and slight modifications for photo gallery, refs #8753
removed complicated batch nav rules as custom markup is now generated in the template, refs #8753
styles for gallery popup, refs #8753