Applied animations to the live clock

Wrote functions to take care of the animations in the live clock.