in day timetable print mode. also fix a bug where the footer was misplaced in this print mode. BUG: 233024 FIXED-IN: 4.8.5 MERGE: 4.8,4.9 (cherry picked from commit 16366708)