add classes to make bubble animation