DYNAMIC TRANSITION BETWEEN FIXED- AND MOBILE-BED: MATHEMATICAL AND NUMERICAL ASPECTS