add page switcher