Using jQuery animate and CSS animations to simulate a beverage dispenser