made the view flexible, using the hours_per_day and day_starts_at options