add date range to appointments view