Quantum bubble dynamics in the presence of gravity