single page view switching & tock