separated animations from rest of styles