update page transition animation