Added switcher for pages