added several features:

automatic box width
click handling
interaction handlers
relative margins; autorescale handlers; readme