removing 3d translate upon close