detailed page refactor