factorize animate properties code
[example][readme] update styling