Refactor js/css, fix the css, calculate the percentage and edit animatio...

...n for bubbles