A quantum particle in a box with moving walls