fix colors in the example page
add some events