Refactoring animation of global feedback messages