shell: Add cache for day offsets.

To ease updating the current-day display when scrolling.

Fixes #20
Closes #1163
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>