Fixing Gallery vs. Page Details conflict