Added day selection logic and header/date transitions