Fix page move target page disappearing.
Page move code cleaning.