This is a good point. I actually just adopted this implementation from TourStep.