The time tunnel effect is the same stock footage used for the 2005 title sequence in Doctor Who (2005).
Stewie travels back in time to The Courtship of Stewie's Father (2005). He manages to cheer Peter up by stealing Brian's banana costume and singing "Peanut Butter Jelly Time" by The Buckwheat Boyz.