imporove page switch animate