added comments / minor code changes, fixes #4
fixed some problems with the demo markup, optimized the demo
added configuration variables, fixes #1 and #5
optimized animations