gallery page class