Simplify MessageCenter animation code