Please keep the list in the loop.
One way to do it is have 2 atoms for each wall site. One that is part of the rigid wall
which translates with a uniform velocity. The other is attached to it with a spring
and is mobile. You only thermostat the mobile atoms.