added ability to add a custom class along any of the trigger points