Modify page switch mode