fix issue of add page transition function after downloading