Updated bouncing bubble example