Capturing partially visible elements
Added margin control to events - detect if a viewport is x units outside of the viewport