Fixes bug #836

This fixes the bug #836.
As the "display" css rule cannot be animated we need to set it to "block" before the animation.
But, this would display the bubble ignoring animation. So we also need to set the opacity to 0.