Added multiple page switching