refactor photo list