added dynamic styling to bubbles