Create switching_pages