adjusted Gallery pages