No wonder the bit about the girls discussing Sensei's underwear felt so weird in the anime. It wasn't supposed to last nearly that long, and it didn't come out of the blue. The girls saw Sensei, and that prompted the topic. It's weird that they turned it into an extended discussion on the rooftop with Boob Lady just staring at them.