clean code: added a buttonAnimation class
better animations, better class structure