Moving hover line along with updated graph