he lifted his hand in a wave , and after cait returned the greeting , the janitor turned away , walking along the far edge of the pews , staring over the assembled masses as if mourning along with them .