Dynamics of an inertially collapsing gas bubble between two parallel, rigid walls