Added custom event for when a slider has reached its beginning or end.