Refactoring calendar example to reuse the logic for focus and to reuse zoomTo.