gallery page xray and before after revision fix