Role of surface vibrations in the pairing gap of atomic nuclei