v1.6: Added 24h mode and fixed animation flow