Emits an event when a certain element is within viewport