An implicit scheme for moving walls and multi-material interfaces in weakly compressible materials