add page error and change animation