refactor daily comparison view