page switching

switched page switching bug