Improved pattern
Refactored and added animation to thermometer height