A manager to switch page (in single-page application/website) with transition and history