Adjust animation when add new page