allow event handlers to cancel tap handling

This is a small feature you may want to merge in.  It allows event handlers to cancel handling of a tap (for me I used it to disallow a certain header to be collapsed after it was expanded).