Adds an "action" class to elements as they scroll into the viewport.