Generic implementation of figure
Implement animation via nineoldandroids