Triggered bindings now receive a single argument, on object.

The object contains two properties:
 - `position`: the element’s offset from the document, equivalent to `viewport.offsetOf`
 - `element`: the element which the bindings refers to
Small cleanup in check.
Corrected the logic in `intersectingMiddle`
Fixed references to previously removed conditions.
Adding visual tests.