UPDATED: library logic abstracted to allow inverse mode
ADDED: invertBehaviour custom attr and Sample app improved